/* ============================================
   Nellers V2 - Modern Design System
   Base Color: #2585b4
   Inspired by mployr.app aesthetic
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #2585b4;
    --primary-dark: #1d6d94;
    --primary-light: #e8f4fa;
    --primary-rgb: 37, 133, 180;
    --text-dark: #1a1a2e;
    --text-body: #4a4a5a;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1160px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: poppins-light;
    src: url(/includes/fonts/Poppins-Light.ttf);
}
@font-face {
    font-family: poppins-regular;
    src: url(/includes/fonts/Poppins-Regular.ttf);
}
@font-face {
    font-family: poppins-semibold;
    src: url(/includes/fonts/Poppins-SemiBold.ttf);
}
@font-face {
    font-family: poppins-bold;
    src: url(/includes/fonts/Poppins-Bold.ttf);
}

body {
    font-family: poppins-light, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
}

h1, h2, h3, h4 {
    font-family: poppins-semibold, sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 { font-size: 2.8rem; letter-spacing: -0.5px; }
h2 { font-size: 2rem; letter-spacing: -0.3px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-family: poppins-semibold, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* --- Header --- */
.v2-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition);
}

.v2-header.scrolled {
    box-shadow: var(--shadow-md);
}

.v2-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}

.v2-logo img {
    height: 36px;
    transition: height var(--transition);
}

.v2-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-nav-item {
    position: relative;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.v2-nav-item:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.v2-nav-item a {
    color: inherit;
}

.v2-nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 100;
}

/* Transparent bridge across the gap so the dropdown stays open
   while the mouse travels from the nav item down to the menu. */
.v2-nav-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.v2-nav-item:hover .v2-nav-dropdown {
    display: block;
}

.v2-nav-dropdown a {
    display: block;
    padding: 10px 14px;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: all var(--transition);
}

.v2-nav-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Nested flyout sub-menus (Services -> Payroll / HR / Systems) */
.v2-nav-sub {
    position: relative;
}

.v2-nav-sub-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    cursor: default;
    transition: all var(--transition);
}

.v2-nav-sub-label i {
    font-size: 0.65rem;
    opacity: 0.5;
}

.v2-nav-sub:hover > .v2-nav-sub-label {
    background: var(--primary-light);
    color: var(--primary);
}

.v2-nav-flyout {
    display: none;
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 110;
}

.v2-nav-sub:hover > .v2-nav-flyout {
    display: block;
}

.v2-nav-flyout a {
    display: block;
    padding: 10px 14px;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: all var(--transition);
}

.v2-nav-flyout a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.v2-header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: poppins-semibold, sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-left: 16px;
}

.v2-header-phone a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.v2-header-phone img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

/* Mobile menu toggle */
.v2-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.v2-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* Offset in-page anchor targets so the fixed header doesn't overlap them */
[id] {
    scroll-margin-top: 88px;
}

/* --- Hero Section with Banner Image --- */
.v2-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 72px;
}

.v2-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.v2-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.82) 0%, rgba(var(--primary-rgb), 0.65) 100%);
}

.v2-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
    width: 100%;
}

.v2-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.v2-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.v2-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: poppins-semibold, sans-serif;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}

/* --- Service Cards --- */
.v2-services {
    background: var(--bg-white);
}

.v2-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.v2-service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.v2-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.v2-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.v2-service-card:hover::before {
    opacity: 1;
}

.v2-service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: all var(--transition);
}

.v2-service-card:hover .v2-service-icon {
    background: var(--primary);
    color: #fff;
}

.v2-service-card h3 {
    margin-bottom: 12px;
}

.v2-service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.65;
}

.v2-service-price {
    font-family: poppins-semibold, sans-serif;
    color: var(--primary);
    font-size: 1rem;
}

.v2-service-card a {
    color: inherit;
}

/* --- Banner Image Sections --- */
.v2-banner-section {
    position: relative;
    padding: 100px 0;
}

.v2-banner-section .v2-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.v2-banner-section .v2-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-banner-section .v2-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(var(--primary-rgb), 0.7) 100%);
}

.v2-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.v2-banner-content h2 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.v2-banner-content h3 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: normal;
    font-family: poppins-light, sans-serif;
    font-size: 1.2rem;
}

/* --- Values Section --- */
.v2-values {
    background: var(--bg-white);
}

.v2-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.v2-value-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}

.v2-value-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.v2-value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all var(--transition);
}

.v2-value-card:hover .v2-value-icon {
    background: var(--primary-dark);
    transform: scale(1.08);
}

.v2-value-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.v2-value-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* --- How It Works / Steps --- */
.v2-steps {
    background: var(--bg-white);
}

.v2-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}

.v2-step-card {
    text-align: center;
    padding: 36px 28px;
    counter-increment: step;
    position: relative;
}

.v2-step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: poppins-bold, sans-serif;
    font-size: 1.2rem;
}

.v2-step-card h3 {
    margin-bottom: 10px;
}

.v2-step-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* --- Contact / Consultation Form --- */
.v2-contact {
    position: relative;
    overflow: hidden;
}

.v2-contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.v2-contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-contact-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(var(--primary-rgb), 0.75) 100%);
}

.v2-contact-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.v2-contact-inner h2 {
    color: #fff;
    margin-bottom: 8px;
}

.v2-contact-inner > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.v2-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v2-form input[type="text"],
.v2-form input[type="email"],
.v2-form input[type="tel"],
.v2-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: poppins-light, sans-serif;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all var(--transition);
    outline: none;
}

.v2-form input::placeholder,
.v2-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.v2-form input:focus,
.v2-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.v2-form textarea {
    resize: vertical;
    min-height: 120px;
}

.v2-form-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.v2-form-math {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    white-space: nowrap;
}

.v2-form-math input {
    width: 60px !important;
    text-align: center;
}

/* Honeypot anti-spam field — visually hidden, kept off-screen for bots only */
.v2-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.v2-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.form-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

.contact-form-info {
    display: none;
    color: #fff;
    font-family: poppins-semibold, sans-serif;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

/* --- Footer --- */
.v2-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 64px;
}

.v2-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-footer-brand img {
    height: 36px;
    margin-bottom: 16px;
}

.v2-footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
}

.v2-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.v2-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.v2-footer-social a:hover {
    background: var(--primary);
}

.v2-footer-social i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.v2-footer-social a:hover i {
    color: #fff;
}

.v2-footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.v2-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

.v2-footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    padding: 5px 0;
    transition: all var(--transition);
}

.v2-footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* Footer newsletter */
.v2-footer-newsletter p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.v2-footer-newsletter input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    font-family: poppins-light, sans-serif;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    margin-bottom: 8px;
    outline: none;
    transition: border-color var(--transition);
}

.v2-footer-newsletter input[type="text"]:focus {
    border-color: var(--primary);
}

.v2-footer-newsletter input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.v2-footer-newsletter input[type="submit"] {
    width: 100%;
    padding: 12px;
    font-family: poppins-semibold, sans-serif;
    font-size: 0.88rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition);
}

.v2-footer-newsletter input[type="submit"]:hover {
    background: var(--primary-dark);
}

.v2-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.v2-footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}
.v2-footer-bottom a:hover {
    color: var(--primary);
}

.v2-footer-legal {
    display: flex;
    gap: 24px;
}

/* --- Back to Top --- */
.v2-back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 500;
    border: none;
    box-shadow: var(--shadow-md);
}

.v2-back-top.visible {
    opacity: 1;
    visibility: visible;
}

.v2-back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.12s; }
.fade-up:nth-child(3) { transition-delay: 0.19s; }
.fade-up:nth-child(4) { transition-delay: 0.26s; }

/* --- Feature Banner Section --- */
.v2-feature-banner {
    position: relative;
    padding: 0;
}

/* Adds breathing room above/below a banner that sits between full-bleed sections */
.v2-feature-banner.spaced {
    margin: 80px 0;
}

.v2-feature-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.v2-feature-banner-image {
    position: relative;
    overflow: hidden;
}

.v2-feature-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fade the image edge into the text side */
.v2-feature-banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background: linear-gradient(to right, transparent, #ffffff);
    pointer-events: none;
    z-index: 1;
}

.v2-feature-banner.reverse .v2-feature-banner-image::after {
    right: auto;
    left: 0;
    background: linear-gradient(to left, transparent, #ffffff);
    z-index: 1;
}

.v2-feature-banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px;
    background: var(--bg-white);
}

.v2-feature-banner-text h2 {
    margin-bottom: 16px;
}

.v2-feature-banner-text p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
}

.v2-feature-banner.reverse .v2-feature-banner-inner {
    direction: rtl;
}

.v2-feature-banner.reverse .v2-feature-banner-inner > * {
    direction: ltr;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .v2-nav {
        display: none;
    }
    .v2-header-phone {
        margin-left: auto;
        margin-right: 12px;
    }
    .v2-mobile-toggle {
        display: block;
    }
    .v2-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-feature-banner-inner {
        grid-template-columns: 1fr;
    }
    .v2-feature-banner-image {
        height: 280px;
    }
    .v2-feature-banner.reverse .v2-feature-banner-inner {
        direction: ltr;
    }
    .v2-feature-banner-image::after {
        width: 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 56px 0; }

    .v2-hero { min-height: 380px; }
    .v2-hero h1 { font-size: 2.2rem; }
    .v2-hero p { font-size: 1rem; }
    .v2-banner-section { padding: 56px 0; }

    .v2-services-grid {
        grid-template-columns: 1fr;
    }
    .v2-values-grid {
        grid-template-columns: 1fr 1fr;
    }
    .v2-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .v2-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .v2-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .v2-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .v2-form-row {
        flex-direction: column;
    }
    .v2-feature-banner-text {
        padding: 40px 24px;
    }
    .v2-feature-banner.spaced {
        margin: 56px 0;
    }
    .v2-banner-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .v2-header-phone span {
        display: none;
    }
    .v2-values-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Mobile Menu Overlay --- */
.v2-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg-white);
    z-index: 999;
    overflow-y: auto;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
}

.v2-mobile-menu.open {
    display: block;
}

.v2-mobile-menu-item {
    border-bottom: 1px solid var(--border-light);
}

.v2-mobile-menu-title {
    display: block;
    padding: 14px 0;
    font-family: poppins-semibold, sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}

.v2-mobile-menu-sub {
    display: none;
    padding-bottom: 8px;
}

.v2-mobile-menu-item.open .v2-mobile-menu-sub {
    display: block;
}

.v2-mobile-menu-sub a {
    display: block;
    padding: 10px 0 10px 16px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.v2-mobile-menu-sub a:hover {
    color: var(--primary);
}

/* Mobile nested accordion (Services -> Payroll / HR / Systems) */
.v2-mobile-menu-subtitle {
    display: block;
    padding: 12px 0 12px 16px;
    font-family: poppins-semibold, sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
}

.v2-mobile-menu-subtitle::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform var(--transition);
}

.v2-mobile-menu-nested.open > .v2-mobile-menu-subtitle::after {
    transform: rotate(180deg);
}

.v2-mobile-menu-sub2 {
    display: none;
    padding-bottom: 6px;
}

.v2-mobile-menu-nested.open .v2-mobile-menu-sub2 {
    display: block;
}

.v2-mobile-menu-sub2 a {
    display: block;
    padding: 9px 0 9px 32px;
    color: var(--text-light);
    font-size: 0.88rem;
}

.v2-mobile-menu-sub2 a:hover {
    color: var(--primary);
}

/* ============================================
   Inner Page Hero (shared by all inner pages)
   ============================================ */
.v2-inner-hero {
    position: relative;
    margin-top: 72px;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.v2-inner-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.v2-inner-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-inner-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.82) 0%, rgba(var(--primary-rgb), 0.65) 100%);
}

.v2-inner-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
    text-align: center;
}

.v2-inner-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.v2-inner-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 660px;
    margin: 0 auto;
}

/* --- Breadcrumb --- */
.v2-breadcrumb {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.82rem;
}

.v2-breadcrumb .container {
    padding-top: 14px;
    padding-bottom: 14px;
}

.v2-breadcrumb a { color: var(--text-light); }
.v2-breadcrumb a:hover { color: var(--primary); }
.v2-breadcrumb span { color: var(--border-light); margin: 0 8px; }
.v2-breadcrumb strong {
    color: var(--text-dark);
    font-family: poppins-semibold, sans-serif;
    font-weight: normal;
}

/* ============================================
   Team / Our People
   ============================================ */
.v2-team {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.v2-team-member {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
    padding: 44px 0;
    border-bottom: 1px solid var(--border-light);
}

.v2-team-member:first-child { padding-top: 0; }
.v2-team-member:last-child { border-bottom: none; padding-bottom: 0; }

.v2-team-photo img {
    box-sizing: content-box; /* keep the v1 quirk: padding pushes the rounded shape into an offset ellipse */
    width: 200px;
    height: 200px;
    padding: 20px 50px 0 0;
    border-radius: 50%;
    object-fit: fill;
}

.v2-team-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 1.35rem;
}

.v2-team-role {
    color: var(--primary);
    font-family: poppins-semibold, sans-serif;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.v2-team-linkedin img {
    width: 18px;
    height: 18px;
    opacity: 0.55;
    transition: opacity var(--transition);
}

.v2-team-linkedin:hover img { opacity: 1; }

.v2-team-info p {
    color: var(--text-body);
    font-size: 0.95rem;
}

.v2-team-info p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .v2-inner-hero { min-height: 220px; }
    .v2-inner-hero h1 { font-size: 2rem; }
    .v2-inner-hero p { font-size: 1rem; }

    .v2-team-member {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        justify-items: center;
    }
    .v2-team-info h3 { justify-content: center; }
}

/* ============================================
   Testimonials (masonry columns)
   ============================================ */
.v2-testimonials-grid {
    column-count: 2;
    column-gap: 28px;
}

.v2-testimonial-card {
    position: relative;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 28px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.v2-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.v2-testimonial-logo {
    height: 52px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.v2-testimonial-logo img {
    max-height: 52px;
    max-width: 180px;
    width: auto;
}

/* 5-star rating, top-right opposite the logo */
.v2-testimonial-stars {
    position: absolute;
    top: 32px;
    right: 32px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f5a623;
    font-size: 0.95rem;
}

.v2-testimonial-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
}

.v2-testimonial-card ul {
    margin: 0 0 1rem 1.1rem;
    font-size: 0.92rem;
    color: var(--text-body);
}

.v2-testimonial-author {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-family: poppins-semibold, sans-serif;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* ============================================
   Partners
   ============================================ */
.v2-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.v2-partner-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
}

.v2-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.v2-partner-logo {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.v2-partner-logo img {
    max-height: 64px;
    max-width: 180px;
    width: auto;
}

/* foundU is a wide, heavy wordmark — scale it down so it sits in line with the other logos */
.v2-partner-logo img[alt="foundU"] { max-width: 130px; }

.v2-partner-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.v2-partner-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ============================================
   Case Studies / Link Cards
   ============================================ */
.v2-casestudy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.v2-casestudy-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    text-align: center;
    color: inherit;
    transition: all var(--transition);
}

.v2-casestudy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: inherit;
}

.v2-casestudy-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.v2-casestudy-logo img {
    max-height: 80px;
    max-width: 300px;
    width: auto;
}

.v2-casestudy-card h3 {
    margin-bottom: 14px;
}

.v2-casestudy-readmore {
    color: var(--primary);
    font-family: poppins-semibold, sans-serif;
    font-size: 0.9rem;
}

.v2-casestudy-card:hover .v2-casestudy-readmore {
    text-decoration: underline;
}

/* ============================================
   Careers / Job Opportunities
   ============================================ */
.v2-jobs {
    max-width: 800px;
    margin: 0 auto;
}

.v2-job-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 20px;
}

.v2-job-card:last-child { margin-bottom: 0; }

.v2-job-card h3 { margin-bottom: 10px; }

.v2-job-card p {
    color: var(--text-body);
    font-size: 0.95rem;
}

.v2-job-card p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .v2-testimonials-grid { column-count: 1; }
    /* keep wide logos clear of the top-right star rating on narrow screens */
    .v2-testimonial-logo img { max-width: 140px; }
    .v2-partners-grid { grid-template-columns: 1fr; }
    .v2-casestudy-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .v2-partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Membership pages (intro + comparison table)
   ============================================ */
.v2-membership-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.v2-membership-intro h2 { margin-bottom: 16px; }
.v2-membership-intro p { color: var(--text-body); }

.v2-membership-intro ul {
    margin: 0 0 1rem 1.2rem;
    color: var(--text-body);
    font-size: 0.95rem;
}
.v2-membership-intro ul li { margin-bottom: 6px; }

.v2-membership-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}
.v2-membership-logos img { max-height: 90px; max-width: 160px; width: auto; }

/* TPB "Registered tax practitioner" symbol — must meet Tax Practitioners Board
   guidelines: stacked symbol min 22mm / 136px wide (electronic media), plus a
   clear-space exclusion zone of "x" (half the inner green circle's diameter).
   The circular symbol is ~70% of this artwork's width, so 210px keeps it well
   above 136px; the 28px margin provides the clear space. Overrides the shared
   max-height cap above (which would otherwise shrink it to ~73px). */
.v2-membership-logos img.tpb-symbol {
    width: 210px;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 28px;
}

.v2-membership-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* --- Check list --- */
.v2-checklist {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}

.v2-checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.5;
}

.v2-checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .v2-checklist { grid-template-columns: 1fr; }
}

/* ============================================
   Service / content pages
   ============================================ */
.v2-content { font-size: 0.98rem; }
.v2-content h2 { margin: 36px 0 14px; }
.v2-content h2:first-child { margin-top: 0; }
.v2-content h3 { margin: 24px 0 10px; font-size: 1.15rem; }
.v2-content h4 { margin: 18px 0 4px; color: var(--text-dark); font-size: 1rem; }
.v2-content p { color: var(--text-body); margin-bottom: 1rem; }
.v2-content ul { margin: 0 0 1.2rem 1.2rem; color: var(--text-body); }
.v2-content ul li { margin-bottom: 7px; }
.v2-content ul ul { margin-top: 7px; margin-bottom: 0; }
.v2-content::after { content: ""; display: block; clear: both; }

.v2-content-img {
    float: right;
    width: 34%;
    max-width: 360px;
    margin: 4px 0 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .v2-content-img { float: none; width: 100%; max-width: none; margin: 0 0 24px; display: block; }
}

/* Service area pills */
.v2-areas { display: flex; flex-wrap: wrap; gap: 14px; }
.v2-area {
    padding: 12px 28px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    font-family: poppins-semibold, sans-serif;
    color: var(--primary);
    background: var(--bg-white);
    transition: all var(--transition);
    cursor: default;
}
.v2-area:hover { background: var(--primary); color: #fff; }

/* Info boxes (e.g. coach detail) */
.v2-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.v2-info-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 24px;
}
.v2-info-box h4 { margin-bottom: 12px; color: var(--text-dark); }
.v2-info-box ul { margin: 0 0 0 1.1rem; font-size: 0.9rem; color: var(--text-body); }
.v2-info-box ul li { margin-bottom: 6px; }
@media (max-width: 768px) { .v2-info-grid { grid-template-columns: 1fr; } }

/* Generic data table */
.v2-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.v2-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.92rem;
}
.v2-table thead th {
    background: var(--primary);
    color: #fff;
    font-family: poppins-semibold, sans-serif;
    padding: 14px 18px;
    text-align: left;
}
.v2-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-body);
    vertical-align: top;
}
.v2-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.v2-table ul { margin: 0 0 0 1.1rem; padding: 0; }
.v2-table-price { font-family: poppins-semibold, sans-serif; color: var(--primary); white-space: nowrap; }

/* Compare cross (health checks) */
.v2-compare-cross { color: var(--border-light); }
.v2-compare-price {
    display: block;
    font-family: poppins-light, sans-serif;
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.95;
    margin-top: 2px;
}

/* Price badge */
.v2-price-badge {
    display: inline-block;
    font-family: poppins-semibold, sans-serif;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* Highlighted feature box */
.v2-feature-box {
    text-align: center;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin: 28px 0;
}
.v2-feature-box h3 { margin-bottom: 20px; }
.v2-feature-box img { max-width: 80%; }

/* ============================================
   Contact page
   ============================================ */
.v2-contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

.v2-form-light input[type="text"],
.v2-form-light textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: poppins-light, sans-serif;
    font-size: 0.95rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-dark);
    margin-bottom: 14px;
    outline: none;
    transition: border-color var(--transition);
}
.v2-form-light input[type="text"]:focus,
.v2-form-light textarea:focus { border-color: var(--primary); }
.v2-form-light textarea { resize: vertical; min-height: 140px; }
.v2-form-light .form-error { border-color: #ef4444 !important; background: rgba(239,68,68,0.05) !important; }

.v2-form-math-light {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--text-body);
    font-size: 0.95rem;
}
.v2-form-math-light input[type="text"] {
    width: 64px;
    text-align: center;
    margin-bottom: 0;
}

/* Honeypot field — visually hidden, off-screen (not display:none, which some bots skip) */
.v2-hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================
   Page-load entrance animation (CSS-only, runs on load)
   ============================================ */
@keyframes v2-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.v2-rise {
    opacity: 0;
    animation: v2-rise 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.v2-rise-1 { animation-delay: 0.10s; }
.v2-rise-2 { animation-delay: 0.20s; }
.v2-rise-3 { animation-delay: 0.30s; }
.v2-rise-4 { animation-delay: 0.45s; }
.v2-rise-5 { animation-delay: 0.55s; }
.v2-rise-6 { animation-delay: 0.65s; }

/* Subtle hero image zoom-in on load */
@keyframes v2-hero-zoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}
.v2-hero-zoom { animation: v2-hero-zoom 1.4s ease-out both; }

/* --- Apply the entrance to EVERY page header automatically --- */
.v2-hero-bg img,
.v2-inner-hero-bg img {
    animation: v2-hero-zoom 1.4s ease-out both;
}

.v2-hero-content > *,
.v2-inner-hero-content > * {
    opacity: 0;
    animation: v2-rise 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.v2-hero-content > *:nth-child(1),
.v2-inner-hero-content > *:nth-child(1) { animation-delay: 0.10s; }
.v2-hero-content > *:nth-child(2),
.v2-inner-hero-content > *:nth-child(2) { animation-delay: 0.20s; }
.v2-hero-content > *:nth-child(3),
.v2-inner-hero-content > *:nth-child(3) { animation-delay: 0.30s; }
.v2-hero-content > *:nth-child(4),
.v2-inner-hero-content > *:nth-child(4) { animation-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    .v2-rise, .v2-hero-zoom,
    .v2-hero-bg img, .v2-inner-hero-bg img,
    .v2-hero-content > *, .v2-inner-hero-content > * {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* --- Main content entrance on load ---
   Animates the primary content block of pages whose content isn't otherwise
   animated (free health check, pricing, services, memberships, blog articles,
   case studies, etc.). The keyframe ENDS at `transform: none` so it never
   leaves a transform on the element — important because these wrappers can
   contain `position: sticky` children (pricing calculator, comparison tables),
   which break under a transformed ancestor. Content defaults to visible, so if
   animations are unsupported/disabled it simply shows with no motion. */
@keyframes v2-content-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}
.v2-content,
.v2-hc,
.v2-quote-config,
.v2-membership-intro,
.v2-compare-wrap,
.quote-details {
    animation: v2-content-in 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}
@media (prefers-reduced-motion: reduce) {
    .v2-content,
    .v2-hc,
    .v2-quote-config,
    .v2-membership-intro,
    .v2-compare-wrap,
    .quote-details {
        animation: none;
    }
}

/* Comparison-table mobile cards: defined at the END of this file so they fall
   after the base .v2-compare rules and win the cascade. */

/* ============================================
   Blog listing
   ============================================ */
.v2-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.v2-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: inherit;
    transition: all var(--transition);
}

.v2-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: inherit;
}

.v2-blog-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-section);
}

.v2-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.v2-blog-card:hover .v2-blog-img img { transform: scale(1.04); }

.v2-blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.v2-blog-body h3 { font-size: 1.15rem; margin-bottom: 10px; }

.v2-blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}
.v2-blog-excerpt ul { margin: 8px 0 0 1.1rem; }

.v2-blog-meta {
    margin-top: auto;
    font-size: 0.78rem;
    color: var(--primary);
    font-family: poppins-semibold, sans-serif;
}

@media (max-width: 1024px) { .v2-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .v2-blog-grid { grid-template-columns: 1fr; } }

/* Responsive video embed (blog) */
.v2-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 12px 0 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}
.v2-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Blog callout box */
.v2-callout {
    clear: both;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 8px 0 24px;
}
.v2-callout h3 { color: #fff; margin-bottom: 12px; }
.v2-callout ul { margin: 0 0 0 1.1rem; }
.v2-callout li { margin-bottom: 8px; color: rgba(255, 255, 255, 0.95); font-size: 0.92rem; }
.v2-callout p:last-child { margin-bottom: 0; }

/* Case-study testimonial box (floated) */
.v2-testimonial-box {
    float: right;
    width: 42%;
    margin: 0 0 24px 28px;
    background: var(--primary-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}
.v2-testimonial-box h3 { margin-top: 0; margin-bottom: 12px; }
.v2-testimonial-box p { font-size: 0.92rem; color: var(--text-body); }
.v2-testimonial-box img { max-width: 200px; height: auto; margin-top: 8px; }
@media (max-width: 768px) {
    .v2-testimonial-box { float: none; width: auto; margin: 0 0 24px; }
}

.v2-contact-info {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.v2-contact-info h3 { margin-bottom: 8px; font-size: 1.15rem; }
.v2-contact-info p { margin-bottom: 6px; color: var(--text-body); font-size: 0.95rem; }
.v2-contact-divider { height: 1px; background: var(--border-light); margin: 22px 0; }
.v2-contact-social { display: flex; gap: 12px; }
.v2-contact-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.v2-contact-social a:hover { background: var(--primary); }
.v2-contact-social i { font-size: 16px; color: var(--primary); transition: color var(--transition); }
.v2-contact-social a:hover i { color: #fff; }

@media (max-width: 768px) {
    .v2-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Pricing quote calculator
   ============================================ */
.v2-quote {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.v2-step-head { display: flex; align-items: center; gap: 14px; margin: 40px 0 16px; }
.v2-step-head:first-child { margin-top: 0; }
.v2-step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: poppins-bold, sans-serif; flex-shrink: 0;
}
.v2-step-head h2 { margin: 0; font-size: 1.3rem; }

.v2-employees { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.v2-employees input[type="number"],
.v2-employees input[type="text"] {
    width: 90px; padding: 10px; text-align: center;
    border: 2px solid var(--border-light); border-radius: var(--radius-sm);
    font-family: poppins-semibold, sans-serif; font-size: 1rem; outline: none;
}

/* Employees slider — styled to match the v1 jQuery-UI look:
   thin grey track + small blue (#2585b4) rounded-square handle */
.v2-employees input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 200px;
    height: 19px;
    background: transparent;
    cursor: pointer;
}
.v2-employees input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: #e9e9e9;
    border: 1px solid #e9e9e9;
    border-radius: 3px;
}
.v2-employees input[type="range"]::-moz-range-track {
    height: 4px;
    background: #e9e9e9;
    border: 1px solid #e9e9e9;
    border-radius: 3px;
}
.v2-employees input[type="range"]::-moz-range-progress {
    height: 6px;
    background: #e9e9e9;
    border-radius: 3px;
}
.v2-employees input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 19px;
    height: 19px;
    margin-top: -7px;
    background: var(--primary);
    border: 1px solid #e9e9e9;
    border-radius: 3px;
}
.v2-employees input[type="range"]::-moz-range-thumb {
    width: 19px;
    height: 19px;
    box-sizing: border-box;
    background: var(--primary);
    border: 1px solid #e9e9e9;
    border-radius: 3px;
}

/* ============================================
   Reusable v1-style slider
   ============================================ */
.v2-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 320px;
    height: 19px;
    background: transparent;
    cursor: pointer;
}
.v2-range::-webkit-slider-runnable-track { height: 4px; background: #e9e9e9; border: 1px solid #e9e9e9; border-radius: 3px; }
.v2-range::-moz-range-track { height: 4px; background: #e9e9e9; border: 1px solid #e9e9e9; border-radius: 3px; }
.v2-range::-moz-range-progress { height: 6px; background: #e9e9e9; border-radius: 3px; }
.v2-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 19px; height: 19px; margin-top: -7px; background: var(--primary); border: 1px solid #e9e9e9; border-radius: 3px; }
.v2-range::-moz-range-thumb { width: 19px; height: 19px; box-sizing: border-box; background: var(--primary); border: 1px solid #e9e9e9; border-radius: 3px; }

/* ============================================
   Free Health Check multi-step form
   ============================================ */
.v2-hc { max-width: 820px; margin: 0 auto; }
.v2-hc > p { color: var(--text-body); }
.v2-hc .page2, .v2-hc .page3, .v2-hc .page4, .v2-hc .page5, .v2-hc .page6 { display: none; }

.v2-hc .body-health-check-form-title { margin: 18px 0 4px; }
.v2-hc .body-health-check-form-title h3 {
    color: var(--primary);
    font-size: 1.2rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.v2-hc .body-health-check-form-row,
.v2-hc .body-health-check-form-row-disclaimer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 24px;
    padding: 18px 0;
    border-top: 1px solid var(--border-light);
}
.v2-hc .body-health-check-form-question {
    flex: 1 1 280px;
    font-family: poppins-semibold, sans-serif;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.v2-hc .body-health-check-form-field {
    flex: 1 1 240px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
}
.v2-hc .body-health-check-form-row-sub {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 12px 0 0 20px;
}
.v2-hc .body-health-check-form-question-sub { flex: 1 1 240px; color: var(--text-body); font-size: 0.92rem; }
.v2-hc .body-health-check-form-field-sub { flex: 1 1 220px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.v2-hc .body-health-check-form-field-table { flex: 1 1 200px; }
.v2-hc .body-health-check-form-field-table ul { list-style: none; margin: 0; padding: 0; }
.v2-hc .body-health-check-form-field-table li { padding: 4px 0; }

.v2-hc input[type="radio"], .v2-hc input[type="checkbox"] { accent-color: var(--primary); width: auto; cursor: pointer; }
.v2-hc label { padding: 0 12px 0 4px; cursor: pointer; font-size: 0.92rem; color: var(--text-body); }

.v2-hc input[type="text"], .v2-hc textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: poppins-light, sans-serif;
    font-size: 0.95rem;
    margin-bottom: 12px;
    outline: none;
    transition: border-color var(--transition);
}
.v2-hc input[type="text"]:focus, .v2-hc textarea:focus { border-color: var(--primary); }
.v2-hc textarea { resize: vertical; min-height: 90px; }
.v2-hc #employees { width: 90px; text-align: center; margin-bottom: 0; }
.v2-hc .form-question { font-family: poppins-semibold, sans-serif; color: var(--text-dark); margin: 6px 0 8px; }
.v2-hc .form-error { border-color: #ef4444 !important; background: rgba(239, 68, 68, 0.05) !important; }
.v2-hc .disclaimer { font-size: 0.82rem; color: var(--text-light); }

.v2-hc #nav-buttons { display: flex; gap: 10px; padding-top: 8px; flex-basis: 100%; }
.v2-hc .next-button, .v2-hc .back-button, .v2-hc .done-button {
    font-family: poppins-semibold, sans-serif;
    font-size: 0.95rem;
    padding: 12px 30px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: all var(--transition);
}
.v2-hc .next-button:hover, .v2-hc .done-button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.v2-hc .back-button { background: transparent; color: var(--primary); display: none; }
.v2-hc .back-button:hover { background: var(--primary-light); }
.v2-hc .done-button { display: none; }

.v2-freq { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 4px 0 16px; }
.v2-freq select {
    padding: 8px 12px; border: 2px solid var(--border-light);
    border-radius: var(--radius-sm); font-family: poppins-light, sans-serif; outline: none;
}
.v2-link { color: var(--primary); cursor: pointer; font-size: 0.88rem; font-family: poppins-semibold, sans-serif; }
.v2-link:hover { text-decoration: underline; }
.v2-freq-compare { display: inline-block; margin: 6px 0 14px; }

.v2-pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.v2-pkg-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 460px; }

.v2-pkg-card {
    position: relative;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-white);
    transition: all var(--transition);
}
.v2-pkg-card:hover { border-color: var(--primary); }
.v2-pkg-card.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: var(--shadow-md); }
.v2-pkg-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.v2-pkg-price { font-family: poppins-bold, sans-serif; color: var(--primary); font-size: 1.6rem; }
.v2-pkg-price small { font-size: 0.68rem; color: var(--text-light); font-family: poppins-light, sans-serif; display: block; }
.v2-pkg-popular {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; font-size: 0.7rem;
    font-family: poppins-semibold, sans-serif; padding: 3px 12px; border-radius: 20px; white-space: nowrap;
}
.v2-pkg-more { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-light); text-align: left; font-size: 0.82rem; }
.v2-pkg-more div { padding: 2px 0; color: var(--text-body); }
.v2-pkg-checkbox { margin-top: 16px; font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
.v2-pkg-checkbox label { cursor: pointer; }

.v2-quote-calc {
    position: sticky;
    top: 92px;
    background: var(--text-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
}
.v2-quote-calc h2 { color: #fff; margin-bottom: 6px; font-size: 1.2rem; }
.v2-quote-bundle { font-size: 0.8rem; color: rgba(255,255,255,0.7); display: block; margin-bottom: 14px; }
.v2-quote-price { font-family: poppins-bold, sans-serif; line-height: 1; margin-top: 6px; }
.v2-quote-price .cur { font-size: 1.1rem; vertical-align: top; font-weight: normal; }
.v2-quote-price .amt { font-size: 2.6rem; color: #fff; }
.v2-quote-price .per { font-size: 0.7rem; color: rgba(255,255,255,0.6); font-family: poppins-light, sans-serif; margin-left: 6px; }
.v2-quote-total { margin: 14px 0; font-family: poppins-semibold, sans-serif; color: #fff; }
.v2-quote-calc input[type="text"] {
    width: 100%; padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08); color: #fff; margin-bottom: 6px; outline: none;
    font-family: poppins-light, sans-serif;
}
.v2-quote-calc input[type="text"]::placeholder { color: rgba(255,255,255,0.4); }
.v2-quote-promo { font-size: 0.78rem; min-height: 16px; color: #7fd1a8; margin-bottom: 12px; display: block; }
.v2-quote-calc .btn { width: 100%; }

.v2-alertbox {
    display: none;
    position: fixed; top: 90px; left: 50%; transform: translateX(-50%);
    background: var(--text-dark); color: #fff;
    padding: 14px 24px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); z-index: 2000; font-size: 0.9rem;
}

@media (max-width: 900px) {
    .v2-quote { grid-template-columns: 1fr; }
    .v2-quote-calc { position: static; }
    .v2-pkg-grid, .v2-pkg-grid.two { grid-template-columns: 1fr; max-width: none; }
}

/* --- Comparison table --- */
.v2-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.v2-compare {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.92rem;
}

.v2-compare th,
.v2-compare td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    vertical-align: middle;
}

.v2-compare thead th {
    font-family: poppins-semibold, sans-serif;
    font-size: 1rem;
    border-bottom: none;
}

.v2-compare thead th:first-child {
    background: var(--text-dark);
    color: #fff;
    text-align: left;
}

.v2-compare th.tier-1 { background: #95c5dc; color: var(--text-dark); }
.v2-compare th.tier-2 { background: var(--primary); color: #fff; }
.v2-compare th.tier-3 { background: var(--primary-dark); color: #fff; }

.v2-compare tbody td:first-child {
    text-align: left;
    color: var(--text-body);
}

.v2-compare tbody tr:hover td { background: var(--bg-light); }

.v2-compare .v2-compare-group td {
    background: var(--bg-section);
    font-family: poppins-semibold, sans-serif;
    color: var(--text-dark);
    text-align: left;
}
.v2-compare .v2-compare-group:hover td { background: var(--bg-section); }

.v2-compare-yes { color: var(--primary); font-size: 1rem; }
.v2-compare-no { color: var(--border-light); }
.v2-compare-addon {
    color: var(--text-light);
    font-size: 0.82rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .v2-membership-intro { grid-template-columns: 1fr; gap: 32px; }
    .v2-membership-logos { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ============================================
   Responsive data tables — usable on mobile
   (freeze the first/label column so tier values
    stay readable while the table scrolls)
   ============================================ */
.v2-compare-wrap, .v2-table-wrap { position: relative; }

@media (max-width: 768px) {
    /* .v2-compare (plan comparison) becomes stacked cards on mobile — see the
       "Comparison tables on mobile" block above. Only .v2-table (generic data
       tables: coaching programs, enterprise-bargaining) keeps the scroll +
       frozen first column here. */
    .v2-table { min-width: 560px; font-size: 0.8rem; }
    .v2-table th, .v2-table td { padding: 9px 10px; }

    .v2-table th:first-child,
    .v2-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.10);
    }
    .v2-table thead th:first-child { background: var(--primary); }
    .v2-table tbody td:first-child { background: var(--bg-white); }
    .v2-table tbody tr:nth-child(even) td:first-child { background: var(--bg-light); }
}

/* ============================================
   Comparison tables on mobile → stacked cards
   (placed last so it overrides the base .v2-compare rules above). Horizontal
   scroll is hard to read on a phone; instead each feature row becomes a card
   listing every plan's value, labelled via data-label set by the footer JS.
   ============================================ */
@media (max-width: 768px) {
    .v2-compare-wrap { overflow: visible; }
    .v2-compare {
        display: block;
        min-width: 0;
        border: none;
        background: transparent;
        font-size: 0.9rem;
    }
    .v2-compare thead { display: none; }
    .v2-compare tbody { display: block; }

    .v2-compare tbody tr {
        display: block;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        background: var(--bg-white);
        margin-bottom: 14px;
        overflow: hidden;
    }

    /* section divider rows */
    .v2-compare tbody tr.v2-compare-group {
        border: none;
        background: transparent;
        margin: 20px 0 10px;
    }
    .v2-compare tbody tr.v2-compare-group td {
        display: block;
        background: var(--primary);
        color: #fff;
        border-radius: var(--radius-sm);
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .v2-compare tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        text-align: right;
        padding: 11px 16px;
        border: none;
        border-top: 1px solid var(--border-light);
        position: static;        /* undo the sticky first-column */
        box-shadow: none;
    }
    /* feature name becomes the card heading */
    .v2-compare tbody td:first-child {
        display: block;
        text-align: left;
        font-family: poppins-semibold, sans-serif;
        color: var(--text-dark);
        background: var(--bg-light);
        border-top: none;
        padding: 12px 16px;
    }
    .v2-compare tbody tr:hover td:first-child { background: var(--bg-light); }

    /* plan name shown before each value */
    .v2-compare tbody td:not(:first-child)::before {
        content: attr(data-label);
        font-family: poppins-semibold, sans-serif;
        color: var(--text-light);
        font-size: 0.85rem;
        text-align: left;
    }
}
