/* ============================================
   HEADER V2 - Textellent
   New finalized design — all classes hv2- prefixed
   ============================================ */

/* ── RESET for header scope ── */
.hv2-header *, .hv2-header *::before, .hv2-header *::after,
.hv2-mobile-drawer *, .hv2-mobile-drawer *::before, .hv2-mobile-drawer *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

/* ── BODY PADDING FOR FIXED HEADER ── */
/* !important ensures theme styles don't override and hero never clips under the fixed header */
.hv2-body { padding-top: 80px !important; }

/* ── SKIP LINK (WCAG) ── */
.hv2-skip-link {
    position: absolute; top: -100%; left: 16px; z-index: 10000;
    background: linear-gradient(135deg, #5C76FF 0%, #945CFF 100%);
    color: #fff; padding: 12px 24px; border-radius: 0 0 8px 8px;
    font-weight: 600; font-size: 14px; text-decoration: none;
    transition: top 0.2s ease;
}
.hv2-skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }


/* ═══════════════════════════════════════════
   HEADER — DARK FIXED
   ═══════════════════════════════════════════ */
.hv2-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #0D0549;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    will-change: box-shadow;
    transition: box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}
.hv2-header.hv2-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.5); }

.hv2-header-container {
    max-width: 1400px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 48px; height: 80px;
}


/* ── LOGO ── */
.hv2-logo {
    display: flex; align-items: center;
    text-decoration: none;
}
.hv2-logo:hover { text-decoration: none; opacity: 1; }
.hv2-logo:focus-visible { outline: 3px solid #5C76FF; outline-offset: 4px; border-radius: 4px; }

.hv2-logo img {
    height: 36px; width: auto; display: block;
    transform: translateY(-2px);
    margin-top: -15px;
}


/* ── DESKTOP NAV ── */
.hv2-desktop-nav { display: flex; gap: 36px; list-style: none; align-items: center; }
.hv2-nav-item { position: relative; }

.hv2-nav-link {
    text-decoration: none; font-weight: 500; font-size: 15px;
    padding: 28px 0; display: flex; align-items: center; gap: 6px;
    cursor: pointer; color: rgba(255,255,255,0.9);
    transition: color 0.2s ease;
    background: none; border: none; font-family: inherit;
    white-space: nowrap;
}
.hv2-nav-link:hover, .hv2-nav-link:focus-visible { color: #fff; text-decoration: none; }
.hv2-nav-link:focus-visible { outline: 2px solid #5C76FF; outline-offset: 4px; border-radius: 4px; }

.hv2-chevron-icon { width: 10px; height: 10px; transition: transform 0.2s ease; will-change: transform; }
.hv2-nav-item:hover .hv2-chevron-icon,
.hv2-nav-item:focus-within .hv2-chevron-icon { transform: rotate(180deg); }


/* ── DROPDOWNS — LIGHT ── */
.hv2-mega-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #fff; border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    min-width: 340px; will-change: opacity, transform; pointer-events: none;
}
.hv2-nav-item:hover .hv2-mega-menu,
.hv2-nav-item:focus-within .hv2-mega-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.hv2-mega-menu-content { padding: 16px 20px; }
.hv2-mega-menu-single { display: grid; gap: 0; }

.hv2-mega-menu-link {
    text-decoration: none; padding: 8px 14px; border-radius: 6px;
    display: block; font-size: 14px; color: #333; white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hv2-mega-menu-link:hover, .hv2-mega-menu-link:focus-visible {
    background: linear-gradient(135deg, rgba(92,118,255,0.1) 0%, rgba(148,92,255,0.1) 100%);
    color: #5C76FF; transform: translateX(4px); text-decoration: none;
}
.hv2-mega-menu-link:focus-visible { outline: 2px solid #5C76FF; outline-offset: -2px; }

/* ── FIX 4: Solutions mega menu — anchor left, extend right ── */
/* Overrides the default center-aligned positioning so it never clips on left */
.hv2-mega-menu-wide {
    min-width: 780px;
    left: 0;
    transform: translateY(-8px); /* no translateX — anchors to left of nav item */
}
.hv2-nav-item:hover .hv2-mega-menu-wide,
.hv2-nav-item:focus-within .hv2-mega-menu-wide {
    transform: translateY(0);
}

.hv2-mega-menu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.hv2-mega-menu-section h3 {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.8px; margin-bottom: 8px; color: #5C76FF;
}
.hv2-mega-menu-section ul { list-style: none; display: grid; gap: 0; padding: 0; margin: 0; }
.hv2-mega-menu-section li { list-style: none; }
.hv2-mega-menu-section a {
    text-decoration: none; padding: 7px 10px; border-radius: 6px;
    display: block; font-size: 13px; color: #333; white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hv2-mega-menu-section a:hover, .hv2-mega-menu-section a:focus-visible {
    background: linear-gradient(135deg, rgba(92,118,255,0.1) 0%, rgba(148,92,255,0.1) 100%);
    color: #5C76FF; transform: translateX(4px); text-decoration: none;
}
.hv2-mega-menu-section a:focus-visible { outline: 2px solid #5C76FF; outline-offset: -2px; }


/* ── HEADER ACTIONS ── */
.hv2-header-actions { display: flex; align-items: center; gap: 20px; }

.hv2-utility-links {
    display: flex; gap: 12px; align-items: center;
    padding-right: 20px; border-right: 1px solid rgba(255,255,255,0.1);
}
.hv2-utility-link {
    text-decoration: none; font-size: 14px; font-weight: 500;
    padding: 8px 12px; border-radius: 6px;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease, background 0.2s ease;
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap; /* FIX 3: prevent two-line wrapping */
}
.hv2-utility-link:hover, .hv2-utility-link:focus-visible {
    color: #fff; background: rgba(255,255,255,0.1); text-decoration: none;
}
.hv2-utility-link:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; }

/* Desktop utility link icons */
.hv2-utility-icon {
    width: 16px; height: 16px; flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.hv2-utility-link:hover .hv2-utility-icon { opacity: 1; }

.hv2-cta-group { display: flex; gap: 12px; }


/* ── BUTTONS ── */
.hv2-btn {
    padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 14px;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    white-space: nowrap; border: none; font-family: inherit;
    min-height: 44px; min-width: 44px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hv2-btn:focus-visible { outline: 3px solid #5C76FF; outline-offset: 3px; }

.hv2-btn-primary {
    background: linear-gradient(135deg, #5C76FF 0%, #945CFF 100%);
    color: #fff; box-shadow: 0 4px 12px rgba(92,118,255,0.3);
}
.hv2-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(92,118,255,0.45); color: #fff; text-decoration: none; }

@keyframes hv2CtaGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(92,118,255,0.3); }
    50% { box-shadow: 0 4px 24px rgba(92,118,255,0.55), 0 0 8px rgba(148,92,255,0.2); }
}

.hv2-btn-secondary {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.3); padding: 10px 26px;
}
.hv2-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; text-decoration: none; }

.hv2-btn-demo {
    background: #0D0549; color: #fff; border: none;
}
.hv2-btn-demo:hover { background: #1a1063; color: #fff; text-decoration: none; }


/* ── HAMBURGER (CSS-only) ── */
.hv2-hamburger-btn {
    display: none; background: none; border: none; color: #fff;
    cursor: pointer; padding: 0; width: 44px; height: 44px;
    align-items: center; justify-content: center; border-radius: 8px;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.hv2-hamburger-btn:hover { background: rgba(255,255,255,0.1); }
.hv2-hamburger-btn:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; }

.hv2-hamburger-bars {
    width: 22px; height: 16px; position: relative;
    display: flex; flex-direction: column; justify-content: space-between;
}
.hv2-hamburger-bars span {
    display: block; height: 2px; width: 100%; background: #fff;
    border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease, background 0.2s ease;
    transform-origin: center;
}

.hv2-hamburger-btn[aria-expanded="true"] .hv2-hamburger-bars span { background: #0D0549; }
.hv2-hamburger-btn[aria-expanded="true"] .hv2-hamburger-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hv2-hamburger-btn[aria-expanded="true"] .hv2-hamburger-bars span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hv2-hamburger-btn[aria-expanded="true"] .hv2-hamburger-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════
   DRAWER OVERLAY
   ═══════════════════════════════════════════ */
.hv2-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 1999; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hv2-drawer-overlay.active { opacity: 1; visibility: visible; }


/* ═══════════════════════════════════════════
   MOBILE DRAWER — WHITE / LIGHT
   ═══════════════════════════════════════════ */
.hv2-mobile-drawer {
    position: fixed; top: 0; right: 0;
    width: min(400px, 88vw); height: 100%; height: 100dvh;
    background: #ffffff;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex; flex-direction: column;
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    font-family: 'Poppins', sans-serif;
}
.hv2-mobile-drawer.active { transform: translateX(0); }


/* ── Drawer Header ── */
.hv2-drawer-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.hv2-drawer-logo {
    display: flex; align-items: center;
    text-decoration: none; flex-shrink: 0;
}
.hv2-drawer-logo img { height: 32px; width: auto; display: block; }

.hv2-drawer-header .hv2-btn-primary {
    padding: 10px 20px; font-size: 13px;
    box-shadow: 0 2px 8px rgba(92,118,255,0.25);
    margin-left: auto; flex-shrink: 0;
}

.hv2-drawer-close {
    background: none; border: none; color: #999; cursor: pointer;
    width: 44px; height: 44px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.hv2-drawer-close:hover {
    background: #f0f0f0; color: #333;
    transform: rotate(90deg) scale(1.1);
}
.hv2-drawer-close:active { transform: rotate(90deg) scale(0.95); }
.hv2-drawer-close:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; }
.hv2-drawer-close svg { width: 20px; height: 20px; }


/* ── FIX 2: Utility row — Get a Demo button + text links ── */
.hv2-drawer-utility-row {
    display: flex; flex-direction: column; gap: 6px;
    padding: 10px 20px 12px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

/* Get a Demo: secondary outlined button (mirrors desktop secondary style) */
.hv2-drawer-demo-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 11px 24px; border-radius: 50px;
    font-size: 14px; font-weight: 600; font-family: 'Poppins', sans-serif;
    text-decoration: none; cursor: pointer;
    color: #0D0549; background: transparent;
    border: 2px solid rgba(13,5,73,0.25);
    min-height: 44px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hv2-drawer-demo-btn:hover {
    background: rgba(13,5,73,0.05); border-color: #0D0549;
    color: #0D0549; text-decoration: none;
}
.hv2-drawer-demo-btn:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; }

/* Client Login & Contact Sales: plain text links */
.hv2-drawer-utility-text-links {
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
.hv2-drawer-utility-text-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 500; color: #888;
    text-decoration: none; padding: 4px 8px; border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.hv2-drawer-utility-text-link:hover { color: #5C76FF; text-decoration: none; }
.hv2-drawer-utility-text-link:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; border-radius: 4px; }
.hv2-drawer-utility-text-link svg { width: 13px; height: 13px; color: #5C76FF; flex-shrink: 0; }
.hv2-drawer-utility-divider { color: #ddd; font-size: 12px; line-height: 1; user-select: none; }


/* ── Drawer Nav ── */
.hv2-drawer-nav {
    flex: 1; padding: 4px 0;
}

.hv2-drawer-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.hv2-drawer-nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; color: #0D0549; font-size: 17px; font-weight: 600;
    text-decoration: none; transition: background 0.2s ease;
    cursor: pointer; background: none; border: none; width: 100%;
    font-family: inherit; text-align: left;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}
.hv2-drawer-nav-link:hover, .hv2-drawer-nav-link:focus-visible { background: #f8f8fa; text-decoration: none; }
.hv2-drawer-nav-link:focus-visible { outline: 2px solid #5C76FF; outline-offset: -2px; }

.hv2-drawer-chevron {
    width: 12px; height: 12px; color: #999;
    transition: transform 0.25s ease; will-change: transform; flex-shrink: 0;
}
.hv2-drawer-nav-item.open .hv2-drawer-chevron { transform: rotate(180deg); }

.hv2-drawer-submenu {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f8fa;
}
.hv2-drawer-nav-item.open .hv2-drawer-submenu { max-height: 900px; }

.hv2-drawer-submenu-section { padding: 2px 0; }

.hv2-drawer-submenu-title {
    padding: 6px 32px; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.8px; color: #5C76FF;
}

.hv2-drawer-submenu a {
    display: flex; align-items: center;
    padding: 8px 32px; color: #444; text-decoration: none;
    font-size: 15px; transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    min-height: 38px;
}
.hv2-drawer-submenu a:hover, .hv2-drawer-submenu a:focus-visible {
    background: rgba(92,118,255,0.06); color: #5C76FF; padding-left: 38px; text-decoration: none;
}
.hv2-drawer-submenu a:focus-visible { outline: 2px solid #5C76FF; outline-offset: -2px; }


/* ── App Download ── */
.hv2-drawer-app-section {
    margin: 12px 20px;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0D0549 0%, #1a1063 100%);
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
    gap: 12px;
}

.hv2-drawer-app-info {
    display: flex; align-items: center; gap: 10px;
}

.hv2-drawer-app-icon-wrap {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #5C76FF 0%, #945CFF 100%);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hv2-drawer-app-icon-wrap svg { width: 18px; height: 18px; color: #fff; }

.hv2-drawer-app-label {
    font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2;
}
.hv2-drawer-app-sublabel {
    font-size: 10px; color: rgba(255,255,255,0.55); font-weight: 400;
}

.hv2-drawer-app-stores {
    display: flex; gap: 8px; flex-shrink: 0;
}

.hv2-drawer-store-btn {
    width: 42px; height: 42px; border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.hv2-drawer-store-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}
.hv2-drawer-store-btn:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; }
.hv2-drawer-store-btn svg { width: 20px; height: 20px; color: #fff; }


/* ── FIX 1: Get in Touch — very light pink-to-blue gradient card ── */
.hv2-drawer-contact-card {
    margin: 0 20px 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(236deg, rgba(255, 92, 200, 0.18) 0%, rgba(92, 118, 255, 0.18) 100%);
    flex-shrink: 0;
}

.hv2-drawer-section-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 12px;
}

/* Section title inside the light card */
.hv2-drawer-contact-card .hv2-drawer-section-title {
    color: #888;
}

.hv2-drawer-contact-group { margin-bottom: 10px; padding-bottom: 10px; }
.hv2-drawer-contact-card .hv2-drawer-contact-group {
    border-bottom: 1px solid rgba(92, 118, 255, 0.15);
}
/* Remove bottom border on the group that immediately precedes the address (last group) */
.hv2-drawer-contact-card .hv2-drawer-contact-group:last-of-type,
.hv2-drawer-contact-card .hv2-drawer-contact-group + .hv2-drawer-address ~ * ,
.hv2-drawer-contact-card .hv2-drawer-contact-group:nth-last-child(2) {
    margin-bottom: 0; padding-bottom: 0; border-bottom: none;
}

.hv2-drawer-contact-label {
    font-size: 10px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.6px; margin-bottom: 4px; display: block;
}
.hv2-drawer-contact-card .hv2-drawer-contact-label {
    color: #5C76FF;
}

.hv2-drawer-contact-link {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; font-size: 15px; font-weight: 600;
    padding: 5px 0; transition: color 0.2s ease;
    min-height: 36px;
}
.hv2-drawer-contact-card .hv2-drawer-contact-link { color: #0D0549; }
.hv2-drawer-contact-card .hv2-drawer-contact-link:hover { color: #5C76FF; text-decoration: none; }
.hv2-drawer-contact-link:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; border-radius: 4px; }

.hv2-drawer-contact-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
/* Icon circle style inside light card */
.hv2-drawer-contact-card .hv2-drawer-contact-icon {
    background: rgba(92, 118, 255, 0.12);
    border: 1px solid rgba(92, 118, 255, 0.2);
}
.hv2-drawer-contact-card .hv2-drawer-contact-icon svg { width: 18px; height: 18px; color: #5C76FF; }

.hv2-drawer-address {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 12px; line-height: 1.5;
    margin-top: 12px; padding-top: 0;
}
.hv2-drawer-contact-card .hv2-drawer-address {
    color: #666;
    border-top: none;
}
.hv2-drawer-contact-card .hv2-drawer-address svg { width: 16px; height: 16px; flex-shrink: 0; color: #5C76FF; margin-top: 2px; }


/* ── FIX 1 cont: Social links — separated below the dark card ── */
.hv2-drawer-social-section {
    padding: 12px 20px 4px;
    flex-shrink: 0;
    border-top: none;
}

.hv2-drawer-social {
    display: flex; gap: 10px;
}

.hv2-drawer-social-link {
    width: 38px; height: 38px; border-radius: 50%;
    background: #f0f0f3; display: flex; align-items: center;
    justify-content: center; text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.hv2-drawer-social-link:hover { background: #e0e0e5; transform: translateY(-2px); }
.hv2-drawer-social-link:focus-visible { outline: 2px solid #5C76FF; outline-offset: 2px; }
.hv2-drawer-social-link svg { width: 16px; height: 16px; color: #0D0549; }


/* ── Legal ── */
.hv2-drawer-legal {
    padding: 14px 20px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    background: #f5f5f7;
    margin-top: auto;
}
.hv2-drawer-legal p {
    font-size: 10px; color: #999; line-height: 1.5;
    text-align: center; margin: 0;
}
.hv2-drawer-legal p + p { margin-top: 2px; }


/* ── BODY LOCK ── */
body.hv2-drawer-open { overflow: hidden; }


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* FIX 3: 1360px breakpoint — prevent Client Login / Contact Sales wrapping */
@media (max-width: 1360px) {
    .hv2-header-container { gap: 32px; }
    .hv2-desktop-nav { gap: 22px; }
    .hv2-utility-links { gap: 4px; padding-right: 14px; }
    .hv2-utility-link { font-size: 13px; padding: 7px 9px; gap: 5px; }
    .hv2-utility-icon { width: 14px; height: 14px; }
}

@media (max-width: 1200px) {
    .hv2-header-container { gap: 24px; }
    .hv2-desktop-nav { gap: 18px; }
    .hv2-utility-links { gap: 4px; padding-right: 12px; }
    .hv2-utility-link { font-size: 13px; padding: 6px 8px; gap: 5px; }
}

@media (max-width: 968px) {
    .hv2-body { padding-top: 70px; }
    .hv2-header-container {
        height: 70px;
        grid-template-columns: auto 1fr auto;
        gap: 0;
        padding: 0 8px 0 24px;
    }
    .hv2-desktop-nav, .hv2-utility-links { display: none; }
    .hv2-cta-group .hv2-btn-secondary { display: none; }
    .hv2-logo img { height: 32px; transform: translateY(-1px); }
    .hv2-hamburger-btn { display: flex; }
    .hv2-header-actions {
        gap: 8px;
        justify-content: flex-end;
    }
    .hv2-header-actions .hv2-btn-primary {
        padding: 10px 20px; font-size: 13px;
        animation: hv2CtaGlow 3s ease-in-out infinite;
    }
}

@media (max-width: 480px) {
    .hv2-header-container { padding: 0 6px 0 16px; }
    .hv2-mobile-drawer { width: 100vw; }

    /* Tighter mobile dropdown spacing */
    .hv2-drawer-submenu a {
        padding: 7px 28px;
        font-size: 14px;
        min-height: 34px;
    }
    .hv2-drawer-submenu-title {
        padding: 4px 28px;
        font-size: 11px;
    }
    .hv2-drawer-nav-link {
        padding: 10px 16px;
        font-size: 16px;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hv2-header *, .hv2-header *::before, .hv2-header *::after,
    .hv2-mobile-drawer *, .hv2-mobile-drawer *::before, .hv2-mobile-drawer *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus:not(:focus-visible) { outline: none; }