/* Tax Pal Solutions — v2 design system */
:root {
  --tp-primary: #4c1f84; --tp-primary-600: #3d176c; --tp-primary-50: #f4effb; --tp-primary-100: #e9defa;
  --tp-accent: #ff7a00; --tp-accent-600: #e56d00;
  --tp-ink: #14112b; --tp-body: #4a4760; --tp-muted: #7c7892; --tp-line: #ebe8f2; --tp-bg: #fbfaff;
  --tp-green: #16a34a; --tp-radius: 16px;
  --tp-shadow: 0 10px 30px rgba(39, 17, 84, .08); --tp-shadow-lg: 0 24px 60px rgba(39, 17, 84, .14);
}
html { scroll-behavior: smooth; }
body.v2 { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--tp-body); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.v2 h1, .v2 h2, .v2 h3, .v2 h4, .v2 h5 { color: var(--tp-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.v2 a { color: var(--tp-primary); text-decoration: none; }
.v2 .text-muted { color: var(--tp-muted) !important; }
.v2 section { padding: 84px 0; }
.v2 .eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-primary); background: var(--tp-primary-50); border-radius: 999px; padding: .35rem .8rem; }
.v2 .section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .8rem 0 .6rem; }
.v2 .section-lead { max-width: 640px; color: var(--tp-muted); font-size: 1.05rem; }

/* Buttons */
.v2 .btn-tp { background: var(--tp-accent); color: #fff; border: 0; border-radius: 12px; padding: .85rem 1.4rem; font-weight: 700; box-shadow: 0 10px 24px rgba(255, 122, 0, .28); transition: transform .15s, background .15s; }
.v2 .btn-tp:hover { background: var(--tp-accent-600); color: #fff; transform: translateY(-1px); }
.v2 .btn-tp-primary { background: var(--tp-primary); color: #fff; border: 0; border-radius: 12px; padding: .85rem 1.4rem; font-weight: 700; transition: transform .15s, background .15s; }
.v2 .btn-tp-primary:hover { background: var(--tp-primary-600); color: #fff; transform: translateY(-1px); }
.v2 .btn-tp-ghost { background: #fff; color: var(--tp-ink); border: 1px solid var(--tp-line); border-radius: 12px; padding: .85rem 1.4rem; font-weight: 700; }
.v2 .btn-tp-ghost:hover { border-color: var(--tp-primary); color: var(--tp-primary); }
.v2 .btn-sm-tp { padding: .55rem 1rem; border-radius: 10px; font-size: .92rem; }

/* Announcement bar + header */
.v2 .tp-announce { background: var(--tp-ink); color: #e9e6f5; font-size: .88rem; padding: .5rem 0; text-align: center; }
.v2 .tp-announce a { color: #ffb36b; font-weight: 700; }
.v2 .tp-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--tp-line); }
.v2 .tp-header .navbar { padding: .7rem 0; }
.v2 .tp-logo img { height: 46px; width: auto; }
.v2 .tp-nav .nav-link { color: var(--tp-ink); font-weight: 600; padding: .5rem .9rem !important; border-radius: 10px; }
.v2 .tp-nav .nav-link:hover, .v2 .tp-nav .nav-link.show { color: var(--tp-primary); background: var(--tp-primary-50); }
.v2 .tp-nav .dropdown-menu { border: 1px solid var(--tp-line); border-radius: 14px; box-shadow: var(--tp-shadow-lg); padding: .5rem; margin-top: .5rem; }
.v2 .tp-nav .dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-weight: 500; color: var(--tp-body); }
.v2 .tp-nav .dropdown-item:hover { background: var(--tp-primary-50); color: var(--tp-primary); }
.v2 .tp-mega { position: static; }
.v2 .tp-mega .dropdown-menu { width: min(1100px, 94vw); left: 50% !important; transform: translateX(-50%); padding: 1.4rem; }
.v2 .tp-mega h6 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-muted); font-weight: 800; margin: 0 0 .6rem; }
.v2 .tp-mega .mega-col a { display: block; padding: .3rem 0; color: var(--tp-body); font-size: .93rem; }
.v2 .tp-mega .mega-col a:hover { color: var(--tp-primary); }
.v2 .tp-mega .mega-cta { background: linear-gradient(135deg, var(--tp-primary), #7a3fd0); border-radius: 14px; color: #ece3ff; padding: 1.2rem; height: 100%; }
.v2 .tp-mega .mega-cta h5 { color: #fff; }
.v2 .tp-scroll { max-height: 60vh; overflow: auto; }
@media (min-width: 992px) { .v2 .tp-nav .dropdown:hover > .dropdown-menu { display: block; } }

/* Mobile offcanvas menu */
.v2 .offcanvas .accordion-button { padding: .9rem 1rem; }
.v2 .offcanvas .m-link { display: block; padding: .45rem 0; color: var(--tp-body); }

/* Hero */
.v2 .tp-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #efe5ff 0, transparent 60%), radial-gradient(800px 400px at -10% 110%, #fff1e4 0, transparent 55%), var(--tp-bg); padding: 72px 0 96px; }
.v2 .tp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 1rem 0; }
.v2 .tp-hero h1 .hl { background: linear-gradient(90deg, var(--tp-primary), #8b47e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2 .tp-hero .lead { font-size: 1.12rem; color: var(--tp-body); max-width: 560px; }
.v2 .tp-checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.v2 .tp-checks li { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--tp-ink); font-size: .95rem; }
.v2 .tp-checks i { color: var(--tp-green); }
.v2 .hero-card { background: #fff; border-radius: 22px; box-shadow: var(--tp-shadow-lg); padding: 1.6rem; border: 1px solid var(--tp-line); position: relative; }
.v2 .hero-card .pill { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .25rem .65rem; }
.v2 .hero-card .big { font-size: 2.1rem; font-weight: 800; color: var(--tp-ink); }
.v2 .hero-card .row-item { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px dashed var(--tp-line); font-size: .95rem; }
.v2 .hero-card .row-item:last-child { border: 0; }
.v2 .hero-card .bar { height: 8px; border-radius: 99px; background: var(--tp-primary-50); overflow: hidden; }
.v2 .hero-card .bar span { display: block; height: 100%; width: 66%; background: linear-gradient(90deg, var(--tp-primary), #8b47e6); border-radius: 99px; }
.v2 .hero-float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--tp-shadow); padding: .7rem 1rem; font-weight: 700; font-size: .88rem; display: flex; gap: .5rem; align-items: center; border: 1px solid var(--tp-line); color: var(--tp-ink); }
.v2 .hero-float.f1 { top: -18px; right: 24px; }
.v2 .hero-float.f2 { bottom: -20px; left: -14px; }
.v2 .hero-float i { font-size: 1.2rem; }

/* Cards and tiles */
.v2 .tp-card { background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 1.6rem; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.v2 a.tp-card { display: block; color: inherit; }
.v2 a.tp-card:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow); border-color: var(--tp-primary-100); }
.v2 .tp-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; background: var(--tp-primary-50); color: var(--tp-primary); }
.v2 .tp-icon.orange { background: #fff1e4; color: var(--tp-accent); }
.v2 .tp-icon.green { background: #e8f8ee; color: var(--tp-green); }
.v2 .tp-icon.blue { background: #e8f1ff; color: #2563eb; }
.v2 .tp-icon.pink { background: #fdebf3; color: #db2777; }
.v2 .tp-icon.teal { background: #e6f7f6; color: #0d9488; }
.v2 .tile h5 { font-size: 1.05rem; margin: .9rem 0 .3rem; }
.v2 .tile p { font-size: .92rem; color: var(--tp-muted); margin: 0; }
.v2 .tile .go { font-weight: 700; font-size: .9rem; margin-top: .8rem; display: inline-flex; gap: .3rem; align-items: center; color: var(--tp-primary); }

/* Pricing */
.v2 .plan { position: relative; }
.v2 .plan.popular { border: 2px solid var(--tp-primary); box-shadow: var(--tp-shadow); }
.v2 .plan .badge-pop { position: absolute; top: -13px; left: 24px; background: var(--tp-primary); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .3rem .8rem; }
.v2 .plan .price { font-size: 2.6rem; font-weight: 800; color: var(--tp-ink); }
.v2 .plan .price small { font-size: .95rem; color: var(--tp-muted); font-weight: 600; }
.v2 .plan ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.v2 .plan li { display: flex; gap: .55rem; padding: .35rem 0; font-size: .95rem; }
.v2 .plan li i { color: var(--tp-green); margin-top: .15rem; }

/* Steps */
.v2 .tp-step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--tp-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 1rem; box-shadow: 0 8px 18px rgba(76, 31, 132, .25); }

/* Services explorer */
.v2 .tp-tabs { gap: .5rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
.v2 .tp-tabs::-webkit-scrollbar { display: none; }
.v2 .tp-tabs .nav-link { white-space: nowrap; border-radius: 999px; border: 1px solid var(--tp-line); color: var(--tp-ink); font-weight: 700; padding: .55rem 1.1rem; background: #fff; }
.v2 .tp-tabs .nav-link.active { background: var(--tp-primary); border-color: var(--tp-primary); color: #fff; }
.v2 .svc-link { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .9rem 1rem; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; color: var(--tp-ink); font-weight: 600; font-size: .95rem; height: 100%; transition: border-color .15s, background .15s; }
.v2 .svc-link:hover { border-color: var(--tp-primary); background: var(--tp-primary-50); color: var(--tp-primary); }
.v2 .svc-group h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tp-muted); font-weight: 800; margin: 1.4rem 0 .7rem; }

/* Dark section */
.v2 .tp-dark { background: var(--tp-ink); color: #cfcbe3; }
.v2 .tp-dark h2, .v2 .tp-dark h5 { color: #fff; }
.v2 .tp-dark .eyebrow { background: rgba(255, 255, 255, .08); color: #d9c8ff; }
.v2 .tp-dark .tp-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.v2 .tp-dark .tp-card p { color: #b9b4d2; margin: 0; }
.v2 .tp-dark .tp-icon { background: rgba(255, 255, 255, .08); color: #d9c8ff; }

/* Testimonials */
.v2 .t-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1rem; scrollbar-width: thin; }
.v2 .t-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.v2 .t-card .stars { color: #f59e0b; }
.v2 .t-card .who { display: flex; gap: .8rem; align-items: center; margin-top: auto; padding-top: 1rem; }
.v2 .t-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--tp-primary-100); color: var(--tp-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.v2 .t-card .quote { font-size: .95rem; color: var(--tp-body); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .t-card .quote p { margin: 0; }

/* FAQ */
.v2 .accordion-item { border: 1px solid var(--tp-line); border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; }
.v2 .accordion-button { font-weight: 700; color: var(--tp-ink); padding: 1.1rem 1.3rem; }
.v2 .accordion-button:not(.collapsed) { background: var(--tp-primary-50); color: var(--tp-primary); box-shadow: none; }
.v2 .accordion-button:focus { box-shadow: none; }
.v2 .accordion-body ul { padding-left: 1.2rem; }

/* CTA band */
.v2 .tp-cta { background: linear-gradient(135deg, var(--tp-primary) 0%, #6d2fc0 60%, #8b47e6 100%); border-radius: 24px; color: #e9e1ff; padding: 3rem; position: relative; overflow: hidden; }
.v2 .tp-cta h2 { color: #fff; }
.v2 .tp-cta:after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }

/* Footer */
.v2 .tp-footer { background: #100d24; color: #a9a4c4; padding: 64px 0 24px; font-size: .93rem; }
.v2 .tp-footer h6 { color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 1rem; }
.v2 .tp-footer a { color: #a9a4c4; display: block; padding: .25rem 0; }
.v2 .tp-footer a:hover { color: #fff; }
.v2 .tp-footer .social a { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); align-items: center; justify-content: center; margin-right: .4rem; color: #fff; }
.v2 .tp-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.v2 .tp-footer .logo-box { background: #fff; border-radius: 12px; padding: .5rem .8rem; display: inline-block; }
.v2 .tp-footer .logo-box img { height: 40px; }

/* WhatsApp button */
.v2 .tp-wa { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 12px 28px rgba(37, 211, 102, .4); transition: transform .2s; }
.v2 .tp-wa:hover { transform: scale(1.07); }

/* Reveal on scroll */
.v2 .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.v2 .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .v2 .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 991.98px) {
  .v2 section { padding: 60px 0; }
  .v2 .tp-hero { padding: 48px 0 72px; }
  .v2 .hero-float.f2 { left: 8px; }
  .v2 .tp-cta { padding: 2rem; }
}

/* Lead form inside the call-to-action */
.v2 .tp-lead .form-label { color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.v2 .tp-lead .form-control, .v2 .tp-lead .form-select { border: 0; border-radius: 10px; padding: .65rem .85rem; }
.v2 .tp-lead .invalid-feedback { color: #ffd9d9; }
.v2 .tp-lead .btn-tp { padding: .65rem 1rem; }

/* Partner logos and blog cards */
.v2 .tp-partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; }
.v2 .tp-partners img { height: 44px; width: auto; max-width: 150px; object-fit: contain; }
.v2 .tp-post { padding: 0 0 1.4rem; overflow: hidden; }
.v2 .tp-post img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v2 .tp-post > span, .v2 .tp-post h5 { margin-left: 1.4rem; margin-right: 1.4rem; }
.v2 .tp-post .go { margin-left: 1.4rem; }

/* No sideways scroll on phones (12-Nov): Bootstrap .g-5 rows pull 1.5rem past a container that has only .75rem
   padding, so the page could slide left/right. Smaller gutter below lg, and the page never scrolls sideways. */
@media (max-width: 991.98px) {
  .v2 .row.g-5 { --bs-gutter-x: 1.5rem; }
}
/* clip (not hidden) keeps the sticky header working */
@supports (overflow: clip) { html, body.v2 { overflow-x: clip; } }

/* ISO certification logos in the footer (white artwork on the dark footer) */
.v2 .tp-footer .certified img { height: 64px; width: auto; max-width: 100%; display: block; }
