/* ==========================================================================
   T.A.P. - styles for the Contact / Impact / Privacy & Terms pages.
   Loaded AFTER the site stylesheets. Everything is scoped under .tapx-page
   / .tapx-* so nothing on existing pages can be affected.
   Bootstrap 5 handles grid, forms, tabs and accordion; this file only adds
   what the PSDs need on top.
   ========================================================================== */
@font-face { font-family: "TapxDisplay"; src: url("../font/BAHNSCHRIFT.TTF") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "TapxScript"; src: url("../font/InkFree.woff2") format("woff2"), url("../font/InkFree.woff") format("woff"); font-display: swap; }

.tapx-page {
  --tx-orange: #f07f12; --tx-red: #e8390e; --tx-amber: #fdae0c;
  --tx-ink: #0a0c0d; --tx-ink-2: #111416; --tx-muted: #4a5560; --tx-line: #d9dde3; --tx-panel: #f5f2ee;
  --tx-dark-line: #2a2f33;
  --tx-display: "TapxDisplay", "Bahnschrift", "Arial Narrow", Impact, sans-serif;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--tx-ink); background: #fff; overflow-x: hidden;
}
.tapx-page main { display: block; overflow-x: clip; }
.tapx-page .site-header { background: #000; }               /* PSDs show a solid black bar */
.tapx-page a:focus-visible, .tapx-page button:focus-visible, .tapx-page .form-control:focus-visible,
.tapx-page .form-select:focus-visible, .tapx-page .form-check-input:focus-visible {
  outline: 3px solid var(--tx-amber); outline-offset: 2px;
}
.tapx-display { font-family: var(--tx-display); text-transform: uppercase; font-weight: 700; letter-spacing: .01em; line-height: 1.02; }
.tapx-accent { color: var(--tx-red); }
.tapx-accent-o { color: var(--tx-orange); }
.tapx-muted { color: var(--tx-muted); }
.tapx-req { color: var(--tx-red); font-weight: 700; }
.tapx-opt { color: #6b7480; font-weight: 400; }
.tapx-script { font-family: "TapxScript", "Ink Free", "Segoe Script", "Brush Script MT", cursive; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.15; margin: 0; transform: rotate(-6deg); }
.tapx-script--white { color: #fff; } .tapx-script--dark { color: var(--tx-ink); }
.tapx-script--under { display: inline-block; padding-bottom: .5rem; background: linear-gradient(var(--tx-orange), var(--tx-orange)) left bottom / 80% 5px no-repeat; }

.tapx-section { padding: clamp(2.25rem, 5vw, 4rem) 0; }
.tapx-dark { background: #0b0f11; color: #fff; }
.tapx-squares { display: flex; gap: 6px; margin-bottom: 1rem; }
.tapx-squares i { width: 14px; height: 14px; display: block; }
.tapx-squares i:nth-child(1) { background: var(--tx-red); } .tapx-squares i:nth-child(2) { background: var(--tx-orange); } .tapx-squares i:nth-child(3) { background: var(--tx-amber); }
.tapx-kicker { font-family: var(--tx-display); text-transform: uppercase; letter-spacing: .2em; font-size: clamp(.9rem, 1.6vw, 1.15rem); margin: 0 0 .75rem; color: var(--tx-muted); }
.tapx-kicker--orange { color: var(--tx-orange); letter-spacing: .12em; } .tapx-kicker--amber { color: var(--tx-amber); }
.tapx-h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin: 0 0 1.25rem; }
.tapx-h1--white { color: #fff; }
.tapx-h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: 0 0 .75rem; }
.tapx-h2--sm { font-size: clamp(1.9rem, 3vw, 2.3rem); } .tapx-h2--white { color: #fff; }
.tapx-h2--band { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.tapx-lead { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--tx-muted); max-width: 46rem; }
.tapx-lead--light, .tapx-lead--light p { color: #eef1f3; }
.tapx-lead--sm { font-size: 1rem; margin-bottom: 0; }

/* ---- buttons (primary reuses the site's .btn-tap-primary) ---- */
.tapx-page .btn { display: inline-flex; align-items: center; gap: .6rem; }
.tapx-btn-outline { border: 1.5px solid var(--tx-orange); color: var(--tx-orange); font-family: var(--tx-display); text-transform: uppercase; letter-spacing: .04em; padding: .6rem 1.25rem; border-radius: 4px; background: transparent; }
.tapx-btn-outline:hover { background: var(--tx-orange); color: #000; }
.tapx-btn-dark { background: #000; color: var(--tx-orange); font-family: var(--tx-display); text-transform: uppercase; letter-spacing: .04em; padding: .8rem 1.5rem; border-radius: 4px; }
.tapx-btn-dark:hover { background: #222; color: #fff; }
.tapx-btn-amber { background: var(--tx-amber); color: #111; font-family: var(--tx-display); text-transform: uppercase; letter-spacing: .04em; padding: .8rem 1.5rem; border-radius: 4px; }
.tapx-btn-amber:hover { background: #ffc23a; color: #000; }
.tapx-submit { padding: .8rem 1.75rem; }
.tapx-submit[disabled] { opacity: .7; cursor: progress; }

/* ============================ CONTACT ============================ */
.tapx-contact-hero { padding-bottom: 1.5rem; }
.tapx-cards-wrap { padding-bottom: 2rem; }
.tapx-reason-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 1.5rem 1.1rem 3.6rem; background: #fff; border: 1px solid #eceef1; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.05); color: var(--tx-ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tapx-reason-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.1); color: var(--tx-ink); }
.tapx-reason-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: #fff; margin-bottom: 1rem; }
.tapx-reason-icon--gold { background: var(--tx-amber); } .tapx-reason-icon--red { background: var(--tx-red); }
.tapx-reason-title { font-size: 1.25rem; margin: 0 0 .5rem; }
.tapx-reason-text { font-size: .95rem; line-height: 1.45; color: var(--tx-muted); }
.tapx-circle-arrow { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--tx-red); border-radius: 50%; color: var(--tx-red); }

.tapx-form-section { border-top: 1px solid #eceef1; }
.tapx-form .form-label { font-weight: 500; font-size: .95rem; margin-bottom: .35rem; color: #2a323a; }
.tapx-form .form-control, .tapx-form .form-select { border: 1px solid #c9cdd4; border-radius: 4px; min-height: 46px; font-size: .95rem; padding: .6rem .85rem; }
.tapx-form textarea.form-control { min-height: 130px; resize: vertical; }
.tapx-form .form-control::placeholder { color: #8a929c; }
.tapx-form .form-control:focus, .tapx-form .form-select:focus { border-color: var(--tx-orange); box-shadow: 0 0 0 .2rem rgba(240,127,18,.2); }
.tapx-form .is-invalid { border-color: #b3261e; background-image: none; }
.tapx-error { color: #b3261e; font-size: .875rem; min-height: 0; margin-top: .3rem; font-weight: 500; }
.tapx-error:not(:empty)::before { content: "\26A0\00a0"; }
.tapx-count { font-size: .8rem; color: #6b7480; margin-top: .25rem; white-space: nowrap; margin-left: auto; }
.tapx-check { display: flex; gap: .7rem; padding-left: 0; align-items: flex-start; }
.tapx-check .form-check-input { margin: .2rem 0 0; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; border: 1.5px solid #8a929c; float: none; }
.tapx-check .form-check-input:checked { background-color: var(--tx-orange); border-color: var(--tx-orange); }
.tapx-check label { font-size: .95rem; color: #2a323a; }
.tapx-check a { color: var(--tx-red); text-decoration: underline; }
.tapx-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tapx-alert { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 6px; margin: 1rem 0 1.25rem; border: 2px solid; font-size: .98rem; }
.tapx-alert.d-none { display: none !important; }
.tapx-alert--ok { background: #eaf7ee; border-color: #1e7b3a; color: #14532a; }
.tapx-alert--err { background: #fdeceb; border-color: #b3261e; color: #7f1610; }
.tapx-alert__icon { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: currentColor; }
.tapx-alert__icon { color: inherit; font-weight: 700; font-size: .9rem; }
.tapx-alert--ok .tapx-alert__icon, .tapx-alert--err .tapx-alert__icon { color: #fff; }
.tapx-alert--ok .tapx-alert__icon { background: #1e7b3a; } .tapx-alert--err .tapx-alert__icon { background: #b3261e; }

.tapx-other { background: var(--tx-panel); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); height: 100%; }
.tapx-other-list { margin: 1.25rem 0; }
.tapx-other-list li { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.1rem; }
.tapx-other-list strong { display: block; font-size: .95rem; }
.tapx-other-list a, .tapx-other-list span { color: #2a323a; font-size: .95rem; }
.tapx-other-list a { text-decoration: underline; word-break: break-word; }
.tapx-other-list a.tapx-phone strong { display: inline; }
.tapx-ring { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--tx-orange); border-radius: 50%; color: var(--tx-red); background: #fff; }
.tapx-follow { margin: 1rem 0 .6rem; }
.tapx-social { display: flex; gap: .75rem; }
.tapx-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: #000; color: #fff; }
.tapx-social a:hover { background: var(--tx-red); }
.tapx-other .tapx-script { color: var(--tx-ink); margin: 1.5rem 0 0; font-size: 1.7rem; background: linear-gradient(var(--tx-red), var(--tx-red)) 25% 100% / 60% 4px no-repeat; padding-bottom: .5rem; }

/* ============================ SHARED BANDS ============================ */
.tapx-band { background-size: cover; background-position: center; position: relative; padding: clamp(2rem, 5vw, 3.5rem) 0; }
.tapx-band .container { position: relative; z-index: 1; }
.tapx-band--light { background-color: #fde193; min-height: 220px; }
.tapx-band--light::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253,225,147,.97) 0%, rgba(253,225,147,.85) 40%, rgba(253,225,147,0) 75%); }
.tapx-band--light p { max-width: 30rem; }
.tapx-band--video, .tapx-band--cta { background-color: #0b0f11; color: #fff; }
.tapx-band--video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,10,.92), rgba(5,8,10,.55) 55%, rgba(5,8,10,.75)); }
.tapx-band--cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,10,.88), rgba(5,8,10,.35) 60%, rgba(5,8,10,.15)); }
.tapx-band--cta { min-height: 240px; display: flex; align-items: center; } .tapx-band--cta > .container { width: 100%; }
.tapx-band--legal { min-height: 260px; }

/* ============================ IMPACT ============================ */
.tapx-impact-hero .tapx-h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.tapx-impact-hero { background: radial-gradient(1200px 400px at 20% 0%, #161c20, #0b0f11 70%); }
.tapx-pillars { margin: 0; padding: 0 0 0 clamp(1rem, 2.5vw, 2rem); border-left: 2px solid var(--tx-orange); }
.tapx-pillars li { display: flex; gap: 1rem; margin-bottom: 1rem; }
.tapx-pillars li:last-child { margin-bottom: 0; }
.tapx-pillar-ico, .tapx-gain__ico { color: var(--tx-orange); flex: 0 0 auto; }
.tapx-pillars h2 { font-family: var(--tx-display); text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; margin: 0 0 .15rem; color: #fff; }
.tapx-pillars p { margin: 0; font-size: .92rem; line-height: 1.4; color: #dfe4e8; }
.tapx-ruled { border-top: 1px solid var(--tx-dark-line); }
.tapx-sec-head { margin-bottom: 1.75rem; }
.tapx-sec-head .tapx-h2 { margin: 0; }

.tapx-timeline { display: grid; gap: 1.5rem 1rem; grid-template-columns: 1fr; margin: 0; padding: 0; counter-reset: none; }
.tapx-timeline li { min-width: 0; }
.tapx-timeline img { width: 100%; height: 120px; object-fit: cover; border-radius: 4px; display: block; }
.tapx-tl-year { display: flex; align-items: center; gap: .5rem; margin: .7rem 0 .5rem; }
.tapx-tl-year .tapx-display { color: var(--tx-orange); font-size: 1.9rem; }
.tapx-tl-year::after { content: ""; flex: 1; height: 1px; background: var(--tx-orange); opacity: .6; }
.tapx-timeline p { margin: 0; font-size: .9rem; line-height: 1.45; color: #e6e9ec; }
@media (min-width: 576px) { .tapx-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .tapx-timeline { grid-template-columns: repeat(4, 1fr); } .tapx-timeline img { height: 110px; } }
@media (min-width: 1200px) {
  .tapx-timeline { grid-template-columns: repeat(7, 1fr); gap: 0 1rem; }
  .tapx-timeline img { height: 96px; }
  .tapx-tl-year .tapx-display { font-size: 1.7rem; }
  /* connector: short orange dash, grey rail, dot at the end (as in the PSD) */
  .tapx-tl-year::after { height: 9px; border-radius: 50%; background-color: transparent;
    background-image: linear-gradient(var(--tx-orange), var(--tx-orange)), linear-gradient(#4a5258, #4a5258);
    background-size: 35% 1px, 100% 1px; background-position: 0 50%, 0 50%; background-repeat: no-repeat; opacity: 1; }
  .tapx-timeline p { font-size: .85rem; }
}

.tapx-case { height: 100%; background: #0e1113; border: 1px solid var(--tx-dark-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.tapx-case__img { position: relative; aspect-ratio: 16 / 9; background: #1a1f23; }
.tapx-case__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.tapx-case__badge { position: absolute; right: 1rem; bottom: -1.5rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 6px; z-index: 2; }
.tapx-case__badge--gold { background: var(--tx-amber); color: #2b1b00; } .tapx-case__badge--red { background: var(--tx-red); color: #fff; }
.tapx-case__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tapx-case__label { font-family: var(--tx-display); text-transform: uppercase; letter-spacing: .06em; color: var(--tx-orange); margin: 0 0 .35rem; font-size: .95rem; }
.tapx-case__title { font-size: 1.45rem; text-transform: none; margin: 0 0 .75rem; color: #fff; }
.tapx-case__body > p { font-size: .95rem; line-height: 1.5; color: #e6e9ec; }
.tapx-quote { margin: auto 0 0; padding-top: .75rem; display: flex; gap: .6rem; align-items: flex-start; }
.tapx-quote > span { font-family: Georgia, serif; font-size: 3.2rem; line-height: .8; color: var(--tx-orange); font-weight: 700; }
.tapx-quote p { margin: 0; font-size: .95rem; line-height: 1.45; font-style: italic; color: #fff; }

.tapx-gained { margin: 0; }
.tapx-gain { height: 100%; background: #111416; border: 1px solid var(--tx-dark-line); border-radius: 6px; padding: 1.1rem 1.1rem 1.25rem; }
.tapx-gain__top { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.tapx-gain h3 { font-size: 1rem; margin: 0; letter-spacing: .04em; color: #fff; }
.tapx-gain p { margin: 0; font-size: .92rem; line-height: 1.45; color: #dfe4e8; }
.tapx-gain__ico svg { width: 36px; height: 36px; }

.tapx-band--video .tapx-h2--band { text-transform: uppercase; }
.tapx-play { display: inline-flex; flex-direction: column; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.tapx-play__btn { display: grid; place-items: center; width: 74px; height: 74px; border: 2px solid #fff; border-radius: 50%; transition: background .15s, color .15s; }
.tapx-play:hover .tapx-play__btn { background: #fff; color: #000; }
.tapx-play__label { font-size: 1.1rem; letter-spacing: .04em; }

/* ============================ LEGAL ============================ */
.tapx-legal-hero { background-color: #0b0f11; background-size: cover; background-position: 75% center; position: relative; min-height: 260px; }
.tapx-legal-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,10,.95) 0%, rgba(5,8,10,.75) 45%, rgba(5,8,10,.1) 100%); }
.tapx-legal-hero .container { position: relative; z-index: 1; }
.tapx-legal-hero .tapx-h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
.tapx-legal-hero__script { position: absolute; right: 1.5rem; top: 50%; translate: 0 -50%; }
.tapx-tabs-bar { background: #f6f6f6; padding-top: 1rem; }
.tapx-tabs { border: 0; gap: 0; flex-wrap: nowrap; }
.tapx-tabs .nav-item { flex: 1 1 50%; max-width: 50%; }
.tapx-tabs .nav-link { width: 100%; display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1.1rem .75rem; border: 2px solid transparent; border-radius: 0; background: #000; color: #fff; }
.tapx-tabs .nav-link .tapx-display { font-size: clamp(1.05rem, 2.2vw, 1.6rem); }
.tapx-tabs .nav-link svg { color: #fff; flex: 0 0 auto; }
.tapx-tabs .nav-link.active { background: #fff; color: var(--tx-ink); border-color: var(--tx-orange); border-bottom-color: #fff; }
.tapx-tabs .nav-link.active svg { color: var(--tx-orange); }
.tapx-legal-body { padding-top: 2rem; background: #fff; }

.tapx-legal-nav { position: sticky; top: 90px; background: #f6f6f6; padding: .5rem 0; max-height: calc(100vh - 110px); overflow: auto; }
.tapx-legal-nav ul { list-style: none; margin: 0; padding: 0; }
.tapx-legal-nav a { display: flex; gap: .85rem; align-items: baseline; padding: .6rem 1rem; color: var(--tx-ink); text-decoration: none; font-family: var(--tx-display); text-transform: uppercase; letter-spacing: .02em; font-size: .98rem; border-left: 3px solid transparent; }
.tapx-legal-nav a:hover { background: #ececec; }
.tapx-legal-nav a.is-active { background: #fff1e6; color: var(--tx-orange); border-left-color: var(--tx-orange); }
.tapx-legal-nav__n { min-width: 1.6rem; color: #777; } .tapx-legal-nav a.is-active .tapx-legal-nav__n { color: var(--tx-orange); }
.tapx-legal-main { padding-bottom: 1rem; }
.tapx-legal-eyebrow { font-family: var(--tx-display); text-transform: uppercase; letter-spacing: .3em; color: var(--tx-orange); font-size: .85rem; margin: 0 0 .25rem; }
.tapx-legal-h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.tapx-legal-org { margin-bottom: .5rem; }
.tapx-legal-intro { scroll-margin-top: 100px; margin-bottom: 1.25rem; }
.tapx-legal-main p, .tapx-legal-main li { line-height: 1.65; color: #2a323a; }
.tapx-legal-main ul { padding-left: 1.25rem; }
.tapx-legal-main a { color: var(--tx-red); }
.tapx-accordion { --bs-accordion-border-color: #d9dde3; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(240,127,18,.35); --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--tx-ink); --bs-accordion-btn-padding-y: 1rem; }
.tapx-accordion .accordion-item { border-width: 0 0 1px; border-radius: 0; scroll-margin-top: 100px; background: #fff; }
.tapx-accordion .accordion-button { background: transparent; box-shadow: none; gap: 1rem; font-family: var(--tx-display); text-transform: uppercase; font-size: 1.15rem; padding-left: 0; padding-right: 0; }
.tapx-acc-n { color: var(--tx-orange); font-size: 1.5rem; min-width: 2.6rem; }
.tapx-accordion .accordion-button::after { background-image: none; content: "+"; font-family: Arial, sans-serif; font-size: 1.8rem; line-height: 1; width: auto; height: auto; transform: none; color: var(--tx-ink); margin-left: auto; padding-left: 1rem; }
.tapx-accordion .accordion-button:not(.collapsed)::after { content: "\2212"; background-image: none; transform: none; }
.tapx-accordion .accordion-body { padding: 0 0 1.25rem 3.6rem; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 991.98px) {
  .tapx-legal-nav { position: static; max-height: none; display: flex; overflow-x: auto; padding: 0; background: #f6f6f6; }
  .tapx-legal-nav ul { display: flex; flex-wrap: nowrap; }
  .tapx-legal-nav li { flex: 0 0 auto; }
  .tapx-legal-nav a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .tapx-legal-nav a.is-active { border-bottom-color: var(--tx-orange); }
  .tapx-pillars { margin-top: .5rem; }
}
@media (max-width: 767.98px) {
  .tapx-timeline { grid-template-columns: 1fr; }
  .tapx-timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 0 1rem; align-items: start; }
  .tapx-timeline img { grid-row: 1 / span 2; height: 100%; min-height: 96px; }
  .tapx-tl-year { margin: 0 0 .25rem; }
  .tapx-tabs .nav-link { flex-direction: column; gap: .3rem; padding: .8rem .4rem; }
  .tapx-tabs .nav-link svg { width: 22px; height: 22px; }
  .tapx-accordion .accordion-body { padding-left: 0; }
  .tapx-acc-n { min-width: 2.2rem; font-size: 1.3rem; }
  .tapx-accordion .accordion-button { font-size: 1.02rem; }
  .tapx-case__badge { width: 48px; height: 48px; }
}
@media (max-width: 575.98px) {
  .tapx-timeline li { grid-template-columns: 96px 1fr; }
  .tapx-btn-outline, .tapx-btn-dark, .tapx-btn-amber, .tapx-submit { width: 100%; justify-content: center; }
  .tapx-reason-card { padding-bottom: 3.4rem; }
}
@media (prefers-reduced-motion: reduce) { .tapx-page * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 991.98px) { .tapx-legal-hero::before { background: rgba(5,8,10,.8); } }
