/* ==========================================================================
   Priority Advisors Group — Premium Design System v2.0
   Brand: Priority Navy #01345D · Steel Blue #2E5777 · Ivory #F3E9C8
   Redesigned for maximum visual impact, contrast & engagement
   ========================================================================== */

/* ── 1. DESIGN TOKENS ────────────────────────────────────────────────────── */
:root {
    /* Core Brand Palette */
    --navy:         #01345D;
    --navy-dark:    #001E3C;
    --navy-mid:     #00284A;
    --navy-light:   #0B4E82;
    --steel:        #2E5777;
    --steel-mid:    #3D6A8A;
    --steel-light:  #5A8BAA;
    --steel-bg:     #E8F2F9;
    --ivory:        #F3E9C8;
    --ivory-dark:   #D8C88A;
    --ivory-mid:    #EAD99B;
    --gold:         #C9A84C;
    --gold-light:   #E8C97A;
    --white:        #FFFFFF;
    --off-white:    #F7F9FC;
    --charcoal:     #1A2332;
    --slate:        #334155;
    --gray-muted:   #5A6B7E;
    --gray-light:   #F0F4F8;
    --border:       #D4DCE6;
    --border-light: #E8EDF3;

    /* Gradients */
    --grad-hero:    linear-gradient(150deg, #001E3C 0%, #01345D 40%, #2E5777 100%);
    --grad-nav:     linear-gradient(90deg, #001E3C 0%, #01345D 60%, #1A4568 100%);
    --grad-section: linear-gradient(135deg, #01345D 0%, #2E5777 100%);
    --grad-gold:    linear-gradient(135deg, #C9A84C 0%, #E8C97A 50%, #C9A84C 100%);
    --grad-card:    linear-gradient(135deg, #EEF4F8 0%, #FFFFFF 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-xs:  0 1px 3px rgba(1,52,93,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:  0 4px 6px rgba(1,52,93,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md:  0 10px 25px rgba(1,52,93,0.10), 0 4px 10px rgba(0,0,0,0.06);
    --shadow-lg:  0 25px 50px rgba(1,52,93,0.14), 0 10px 20px rgba(0,0,0,0.08);
    --shadow-xl:  0 40px 80px rgba(1,52,93,0.20), 0 20px 40px rgba(0,0,0,0.10);
    --shadow-gold:0 8px 24px rgba(201,168,76,0.35);
    --shadow-btn: 0 4px 14px rgba(1,52,93,0.30);

    /* Geometry */
    --radius-xs:  4px;
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  30px;
    --radius-full:9999px;

    /* Animation */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.18s var(--ease-out);
    --transition:      0.30s var(--ease-out);
    --transition-slow: 0.50s var(--ease-out);
}

/* ── 2. RESET & BASE ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.25rem; color: var(--slate); line-height: 1.7; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--steel); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* ── 3. ANNOUNCEMENT BAR ─────────────────────────────────────────────────── */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: 0.2px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(201,168,76,0.18);
    color: var(--gold-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: 1px solid rgba(201,168,76,0.3);
    letter-spacing: 0.4px;
}

.top-bar-contact {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.top-bar-contact a {
    color: rgba(255,255,255,0.8);
    transition: color var(--transition-fast);
}
.top-bar-contact a:hover { color: var(--gold-light); }

/* ── 4. PREMIUM HEADER / NAV ─────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--grad-nav);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: background var(--transition), box-shadow var(--transition);
}

/* Gold accent line at bottom of nav */
.header::after {
    content: '';
    display: block;
    height: 3px;
    background: var(--grad-gold);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
    gap: 1rem;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.brand-text { display: flex; flex-direction: column; }

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.6px;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
    margin-left: auto;
}

.nav-links > a:not(.btn) {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-sm);
    position: relative;
    letter-spacing: 0.1px;
    white-space: nowrap;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links > a:not(.btn):hover,
.nav-links > a.active {
    color: #FFFFFF;
    background: rgba(255,255,255,0.10);
}

/* Gold underline on active */
.nav-links > a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--grad-gold);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links > a:not(.btn):hover::after,
.nav-links > a.active::after {
    width: calc(100% - 1.5rem);
}

/* CTA Button in nav (Separated on far right) */
.btn-nav-cta {
    margin-left: 1.75rem;
    background: var(--grad-gold) !important;
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 0.6rem 1.3rem !important;
    border-radius: var(--radius-sm) !important;
    border: none !important;
    box-shadow: var(--shadow-gold) !important;
    letter-spacing: 0.3px;
    transition: all var(--transition) !important;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(201,168,76,0.50) !important;
    color: var(--navy-dark) !important;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}
.mobile-toggle:hover { background: rgba(255,255,255,0.20); }

/* ── 5. BUTTONS (HIGH-CONTRAST) ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.9rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.2px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

/* PRIMARY — Gold gradient, dark navy text (max contrast) */
.btn-primary {
    background: var(--grad-gold);
    color: #001427;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #B8962C 0%, #D4AB50 50%, #B8962C 100%);
    color: #001427;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201,168,76,0.55);
}

/* NAVY — White text */
.btn-navy {
    background: var(--navy);
    color: #FFFFFF;
    border-color: var(--navy);
    box-shadow: var(--shadow-btn);
}
.btn-navy:hover {
    background: var(--navy-light);
    color: #FFFFFF;
    border-color: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(1,52,93,0.40);
}

/* OUTLINE on dark background — high-contrast gold border */
.btn-outline {
    border-color: var(--gold);
    color: var(--gold-light);
    background: transparent;
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* OUTLINE NAVY on white */
.btn-outline-navy {
    border-color: var(--navy);
    color: var(--navy);
    background: transparent;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn);
}

/* GHOST on light bg */
.btn-ghost {
    background: rgba(1,52,93,0.07);
    color: var(--navy);
    border-color: transparent;
}
.btn-ghost:hover {
    background: var(--navy);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Sizes */
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }

/* ── 6. BADGES ───────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.badge-navy {
    background: rgba(1,52,93,0.09);
    color: var(--navy);
    border: 1px solid rgba(1,52,93,0.18);
}

.badge-gold {
    background: rgba(201,168,76,0.14);
    color: #7A5A10;
    border: 1px solid rgba(201,168,76,0.35);
}

.badge-ivory {
    background: rgba(243,233,200,0.18);
    color: var(--gold-light);
    border: 1px solid rgba(243,233,200,0.30);
}

.badge-white {
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.30);
}

/* ── 7. HERO — PREMIUM DESIGN ───────────────────────────────────────────── */
.hero-home {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero), url('../images/hero_consulting.jpg') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

/* Decorative mesh overlay */
.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 80% 50%, rgba(46,87,119,0.35) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 90%, rgba(201,168,76,0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated floating shapes */
.hero-home::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px; right: -100px;
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%       { transform: translate(-20px, 20px) scale(1.05); }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 5rem 1.75rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201,168,76,0.15);
    color: var(--gold-light);
    border: 1px solid rgba(201,168,76,0.35);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-home h1 {
    color: #FFFFFF;
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-home h1 span { color: var(--gold-light); }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2.25rem;
    line-height: 1.65;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.hero-trust-item i { color: var(--gold-light); }

/* Hero Stats card */
.hero-stats-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-stat {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.10);
    transition: background var(--transition-fast);
}
.hero-stat:hover { background: rgba(255,255,255,0.12); }

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.hero-stats-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
}

/* ── 8. INNER PAGE HERO ───────────────────────────────────────────────────── */
.page-hero {
    background: var(--grad-section);
    color: var(--white);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 80% 0%, rgba(201,168,76,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-gold);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #FFFFFF; margin-bottom: 0.85rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.12rem; max-width: 660px; margin: 0 auto; }

/* ── 9. SECTIONS ─────────────────────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }

.section-alt { background: var(--off-white); }

.section-navy {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--steel) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-navy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(201,168,76,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.section-navy h2, .section-navy h3, .section-navy h4 { color: #FFFFFF; }
.section-navy p { color: rgba(255,255,255,0.82); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.75rem;
}
.section-header p { font-size: 1.1rem; color: var(--gray-muted); }

/* Section gold divider accent */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--grad-gold);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* ── 10. GRIDS ────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }

/* ── 11. CARDS ────────────────────────────────────────────────────────────── */
.card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Gold top-accent on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    border-radius: var(--radius-xs) var(--radius-xs) 0 0;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(1,52,93,0.15); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--steel-bg) 0%, #D6E8F3 100%);
    color: var(--navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.35rem;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}

.card:hover .card-icon {
    background: var(--navy);
    color: var(--gold-light);
}

.card-title { font-size: 1.2rem; margin-bottom: 0.65rem; }
.card-text  { font-size: 0.93rem; color: var(--gray-muted); flex-grow: 1; line-height: 1.65; }

/* Service list card (left border variant) */
.card-service {
    border-left: 4px solid transparent;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card-service:hover { border-left-color: var(--gold); }

/* ── 12. INFO CALLOUT BOX ────────────────────────────────────────────────── */
.info-box {
    background: var(--steel-bg);
    border-left: 4px solid var(--navy);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
}

.info-box.gold-accent { border-left-color: var(--gold); }

/* ── 13. TIMELINE STEPPER ────────────────────────────────────────────────── */
.timeline { position: relative; max-width: 920px; margin: 0 auto; }

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 50px; left: 25px;
    width: 2px;
    height: calc(100% + 0.5rem);
    background: linear-gradient(to bottom, var(--steel-bg), transparent);
}
.timeline-step:last-child::before { display: none; }

.step-num {
    width: 52px; height: 52px;
    background: var(--grad-section);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    z-index: 1;
    border: 2px solid rgba(201,168,76,0.35);
}

.step-content {
    background: #FFFFFF;
    padding: 1.6rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    flex-grow: 1;
    transition: transform var(--transition), box-shadow var(--transition);
}
.step-content:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.step-content h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }

/* ── 14. PRODUCT CARDS ───────────────────────────────────────────────────── */
.product-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-img { height: 260px; width: 100%; object-fit: cover; background: #F0F4F8; }
.product-info { padding: 1.85rem; }
.product-info h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }

/* ── 15. FAQ & CATEGORIES ─────────────────────────────────────────────── */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.faq-cat-btn {
    background: #FFFFFF;
    border: 1.5px solid var(--border);
    color: var(--slate);
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.faq-cat-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: var(--steel-bg);
}

.faq-cat-btn.active {
    background: var(--navy);
    color: #FFFFFF;
    border-color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.faq-cat-count {
    background: rgba(1,52,93,0.1);
    color: var(--navy);
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.faq-cat-btn.active .faq-cat-count {
    background: rgba(255,255,255,0.25);
    color: #FFFFFF;
}

.faq-category-badge {
    display: inline-inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    background: var(--steel-bg);
    color: var(--navy);
    border: 1px solid rgba(1,52,93,0.15);
}

.faq-search { max-width: 640px; margin: 0 auto 2rem; position: relative; }

.faq-search input {
    width: 100%;
    padding: 1.05rem 1.5rem 1.05rem 3.25rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: #FFFFFF;
    color: var(--charcoal);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-search input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(1,52,93,0.12);
}
.faq-search input::placeholder { color: #A0AEC0; }

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-muted);
    font-size: 0.95rem;
}

.faq-accordion { max-width: 880px; margin: 0 auto; }

.faq-item {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
    border: 1.5px solid var(--border-light);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item:hover, .faq-item.active { border-color: rgba(1,52,93,0.25); box-shadow: var(--shadow-sm); }

.faq-question {
    padding: 1.3rem 1.6rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #FFFFFF;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.faq-question:hover { background: var(--steel-bg); }
.faq-item.active .faq-question { background: var(--steel-bg); }

.faq-toggle {
    width: 28px; height: 28px;
    background: var(--steel-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: var(--navy);
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    background: var(--navy);
    color: var(--gold-light);
}

.faq-answer {
    padding: 0 1.6rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.3s ease;
    color: var(--slate);
    font-size: 0.97rem;
    line-height: 1.72;
}
.faq-item.active .faq-answer { padding: 1rem 1.6rem 1.6rem; max-height: 600px; }

/* ── 15B. REDESIGNED SERVICE SOLUTION CARDS ───────────────────────────── */
.service-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    position: sticky;
    top: 90px;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.service-quick-link {
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
    background: var(--steel-bg);
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}
.service-quick-link:hover {
    background: var(--navy);
    color: #FFFFFF;
}

.service-solution-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 2.75rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(1,52,93,0.20);
}

.service-solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 6px;
    background: var(--grad-section);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.service-solution-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-solution-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
    color: var(--gold-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.service-solution-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(1,52,93,0.12);
    line-height: 1;
    letter-spacing: -1px;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--slate);
    font-weight: 500;
}
.service-feature-item i {
    color: var(--navy);
    font-size: 0.85rem;
    width: 16px; text-align: center;
}

/* ── 16. FORMS ───────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    letter-spacing: 0.2px;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    color: var(--charcoal);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(1,52,93,0.12);
}
.form-control::placeholder { color: #A0AEC0; }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2301345D' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }

/* ── 17. MODAL ───────────────────────────────────────────────────────────── */
.modal {
    position: fixed; inset: 0;
    background: rgba(0,20,40,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal.active { display: flex; }

.modal-content {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    max-width: 620px; width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 2.75rem;
    position: relative;
    box-shadow: var(--shadow-xl);
    border-top: 5px solid transparent;
    background-clip: padding-box;
    outline: 5px solid var(--navy);
    outline-offset: -5px;
}

.modal-close {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: var(--gray-light);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: var(--gray-muted);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.modal-close:hover { background: var(--navy); color: #FFFFFF; }

/* ── 18. FOOTER ──────────────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(160deg, #001427 0%, #001E3C 50%, #002D52 100%);
    color: var(--white);
    padding: 5rem 0 2.25rem;
    border-top: 4px solid transparent;
    background-clip: padding-box;
    outline: 4px solid;
    outline-color: transparent;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand img { height: 60px; width: auto; margin-bottom: 1.5rem; }

.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    line-height: 1.72;
}

.footer-title {
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
    color: rgba(255,255,255,0.68);
    font-size: 0.88rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
}
.footer-bottom-left {
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
}
.footer-bottom-right {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
    color: rgba(255,255,255,0.65);
}
.footer-bottom a {
    color: var(--gold-light, #E8C97A) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color var(--transition-fast);
}
.footer-bottom a:hover {
    color: #ffffff !important;
}
.footer-bottom-sep {
    color: rgba(255,255,255,0.35);
}

#pwmCreditWrapper,
#pwmCreditLink,
#_sec_attr {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
#_sec_attr a {
    color: #E8C97A !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* ── 19. TEAM / SPECIALTY TAGS ──────────────────────────────────────────── */
.specialty-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.specialty-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.specialty-tag:hover {
    background: rgba(201,168,76,0.18);
    border-color: rgba(201,168,76,0.40);
    color: var(--gold-light);
}
.specialty-tag i { color: var(--gold-light); font-size: 0.9rem; }

/* ── 20. STAT STRIPS ─────────────────────────────────────────────────────── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.stat-strip-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-item:hover { background: var(--steel-bg); }

.stat-strip-num {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-strip-label {
    font-size: 0.82rem;
    color: var(--gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

/* ── 21. APPROACH PILLAR CARDS ───────────────────────────────────────────── */
.pillar-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.pillar-card:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(201,168,76,0.35);
}

.pillar-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.10));
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-light);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.pillar-body h4 { color: #FFFFFF; margin-bottom: 0.4rem; font-size: 1.05rem; }
.pillar-body p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-bottom: 0; }

/* ── 22. CTA BANNER ──────────────────────────────────────────────────────── */
.cta-banner {
    background: var(--grad-gold);
    border-radius: var(--radius-lg);
    padding: 3.25rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
}

.cta-banner-text h2 {
    color: var(--navy-dark);
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}
.cta-banner-text p { color: rgba(0,20,40,0.75); margin-bottom: 0; font-size: 1.05rem; }

.cta-banner .btn-navy {
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ── 23. ADMIN STYLES ────────────────────────────────────────────────────── */
.admin-notice {
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: #5A3800;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ── 24. RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-stats-card { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
    .hero-stats-divider { display: none; }
    .stats-strip { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .cta-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 1150px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.75rem; }

    .nav-links {
        position: fixed;
        top: 86px; left: 0; right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 1.5rem 1.75rem 2rem;
        gap: 0.25rem;
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        border-top: 3px solid var(--gold);
        z-index: 999;
    }

    .nav-links > a:not(.btn) {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .nav-links > a:not(.btn)::after { display: none; }

    .btn-nav-cta {
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
        margin-top: 0.5rem;
        padding: 0.85rem !important;
    }

    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }
    .top-bar-contact { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 3.5rem 0; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-bottom-right { justify-content: center; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-trust { flex-wrap: wrap; }
    .cta-banner { padding: 2rem 1.5rem; }
}

/* ── 25. UTILITY CLASSES ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy) !important; }
.text-gold   { color: var(--gold) !important; }
.text-white  { color: #FFFFFF !important; }
.text-muted  { color: var(--gray-muted) !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 1rem; }
.rounded { border-radius: var(--radius-md); }
.overflow-hidden { overflow: hidden; }
.w-100 { width: 100%; }

/* ── 26. SCROLL ANIMATIONS ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
}

/* ── 27. BACK TO TOP BUTTON ─────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    border: 2px solid var(--gold-light);
    box-shadow: 0 4px 20px rgba(1, 52, 93, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    z-index: 999;
    outline: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--steel);
    color: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 6px 25px rgba(1, 52, 93, 0.5);
    transform: translateY(-3px);
}

.back-to-top:focus-visible {
    box-shadow: 0 0 0 3px var(--gold-light);
}

.back-to-top:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

