/* ============================================================
   ACCTAB — shared design system for Learn More hub & articles
   Matches the premium navy / royal blue / gold brand of index.html
   ============================================================ */
:root {
    --navy: #0D1B2A;
    --navy-2: #14263B;
    --royal: #1E5EFF;
    --royal-dark: #1750E0;
    --gold: #C8A24C;
    --white: #FFFFFF;
    --light: #F8F9FB;
    --dark-text: #202124;
    --muted: #666666;
    --green: #1AA36F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ============ Page loader / screen transition ============ */
.page-loader {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--navy);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.3rem;
    opacity: 1; visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-ring {
    width: 54px; height: 54px; border-radius: 50%;
    border: 3px solid rgba(200, 162, 76, 0.2);
    border-top-color: var(--gold);
    animation: loaderspin 0.9s linear infinite;
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800; font-size: 1.1rem; letter-spacing: 6px;
    color: var(--white);
}

.loader-text::after {
    content: ''; display: block; width: 40px; height: 2px;
    background: var(--gold); margin: 0.6rem auto 0; border-radius: 2px;
    animation: loaderbar 1.4s ease-in-out infinite;
}

@keyframes loaderspin { to { transform: rotate(360deg); } }

@keyframes loaderbar {
    0%, 100% { width: 24px; opacity: 0.5; }
    50% { width: 64px; opacity: 1; }
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: var(--dark-text);
    background: var(--light);
    line-height: 1.8;
}

h1, h2, h3, h4, .brand-name { font-family: 'Poppins', 'Segoe UI', sans-serif; }

.icon {
    width: 1.2em; height: 1.2em;
    stroke: currentColor; stroke-width: 1.8; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
    vertical-align: -0.22em; flex-shrink: 0;
}

/* ============ Navigation (solid navy on inner pages) ============ */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(13, 27, 42, 0.97);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    padding: 0.7rem 2rem;
    z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.nav-shine::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 18%; height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.20) 50%, rgba(200,162,76,0.12) 65%, transparent 100%);
    transform: translateX(-130%) skewX(-18deg);
    animation: navshine 5s ease-in-out infinite;
}

@keyframes navshine {
    0%   { transform: translateX(-130%) skewX(-18deg); }
    24%  { transform: translateX(720%) skewX(-18deg); }
    100% { transform: translateX(720%) skewX(-18deg); }
}

.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }

.brand-logo {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--white); padding: 3px; object-fit: contain;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3), 0 0 0 2px rgba(200,162,76,0.5);
    transition: transform 0.35s ease;
}

.brand:hover .brand-logo { transform: scale(1.06); }

.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }

.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: 2.5px; color: var(--white); }

.brand-tag {
    font-weight: 700; font-size: 0.5rem; letter-spacing: 1.6px;
    color: var(--gold); text-transform: uppercase; white-space: nowrap;
}

.nav-right { display: flex; align-items: center; gap: 2rem; }

nav ul { list-style: none; display: flex; align-items: center; gap: 2rem; }

nav ul a {
    color: #dbe6f5; text-decoration: none; font-weight: 600; font-size: 0.96rem;
    position: relative; padding: 0.3rem 0; transition: color 0.3s;
}

nav ul a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gold); transition: width 0.3s ease; border-radius: 2px;
}

nav ul a:hover { color: var(--gold); }
nav ul a:hover::after { width: 100%; }
nav ul a.active { color: var(--gold); }
nav ul a.active::after { width: 100%; }

.nav-cta {
    background: var(--royal); color: var(--white) !important;
    padding: 0.6rem 1.3rem; border-radius: 10px; font-weight: 700;
    transition: background 0.25s, transform 0.25s;
}

.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--royal-dark); transform: translateY(-1px); }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100;
}

.hamburger span {
    width: 26px; height: 2px; background: var(--white); border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.95rem 2.1rem; border-radius: 12px; text-decoration: none;
    font-weight: 700; font-size: 1rem;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.btn-primary {
    background: var(--royal); color: var(--white);
    box-shadow: 0 4px 16px rgba(30, 94, 255, 0.3);
}

.btn-primary:hover { background: var(--royal-dark); transform: translateY(-2px); }

.btn-secondary {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-primary .icon { transition: transform 0.25s; }
.btn-primary:hover .icon { transform: translateX(4px); }

.wa-glyph { width: 1.35em; height: 1.35em; fill: currentColor; }

.btn-whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    background: #1FAF5A; color: var(--white); padding: 0.95rem 2.1rem;
    border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1rem;
    transition: background 0.25s, transform 0.25s;
    box-shadow: 0 6px 22px rgba(31, 175, 90, 0.3);
}

.btn-whatsapp:hover { background: #189A4D; transform: translateY(-2px); }

/* ============ Page hero (hub + articles) ============ */
.page-hero {
    background: linear-gradient(160deg, rgba(13,27,42,0.97) 0%, rgba(20,38,59,0.95) 100%), var(--navy);
    color: #dbe6f5;
    padding: 8.5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Monogram motif tile, matching index.html */
.page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-repeat: repeat; background-size: 260px 260px; opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Ctext x='26' y='74' font-family='Poppins,Arial,sans-serif' font-size='13' font-weight='700' letter-spacing='4' fill='%23FFFFFF' transform='rotate(-30 26 74)'%3EACCTAB%3C/text%3E%3Ctext x='156' y='204' font-family='Poppins,Arial,sans-serif' font-size='13' font-weight='700' letter-spacing='4' fill='%23FFFFFF' transform='rotate(-30 156 204)'%3EACCTAB%3C/text%3E%3Cpath d='M0,-9 C2.5,-9 4,-7 4,-4.5 C7,-4.5 9,-2.5 9,0 C9,2.5 7,4.5 4,4.5 C4,7 2.5,9 0,9 C-2.5,9 -4,7 -4,4.5 C-7,4.5 -9,2.5 -9,0 C-9,-2.5 -7,-4.5 -4,-4.5 C-4,-7 -2.5,-9 0,-9 Z' fill='%23C8A24C' transform='translate(196,58)'/%3E%3Cpath d='M66,176 l7,11 -7,11 -7,-11 Z' fill='%23FFFFFF'/%3E%3Ccircle cx='130' cy='128' r='3' fill='%23C8A24C'/%3E%3C/svg%3E");
}

.page-hero > * { position: relative; z-index: 1; }

.crumbs {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; font-weight: 600; color: #8fa3bd; margin-bottom: 1.4rem;
    list-style: none;
}

.crumbs a { color: #b9c8dc; text-decoration: none; transition: color 0.25s; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: #55698a; }

.hero-eyebrow {
    display: inline-block; font-weight: 700; font-size: 0.75rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold);
    border: 1px solid rgba(200, 162, 76, 0.45);
    padding: 0.4rem 1.1rem; border-radius: 30px; margin-bottom: 1.4rem;
    background: rgba(13, 27, 42, 0.55);
}

.page-hero h1 {
    font-size: 2.6rem; font-weight: 800; color: var(--white);
    max-width: 900px; margin: 0 auto 1.2rem; line-height: 1.25;
}

.page-hero .lede {
    font-size: 1.1rem; color: #c6d3e4; max-width: 780px; margin: 0 auto 1.6rem; line-height: 1.9;
}

.art-meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem;
    font-size: 0.88rem; font-weight: 600; color: #b9c8dc;
}

.art-meta .icon { color: var(--gold); }

/* ============ Article layout ============ */
.art-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4.5rem;
}

.art-body { font-size: 1.02rem; color: #333a42; }

.art-body p { margin-bottom: 1.3rem; }

.art-body h2 {
    font-size: 1.65rem; font-weight: 800; color: var(--navy);
    margin: 2.8rem 0 1.1rem; line-height: 1.3;
    scroll-margin-top: 90px;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(200, 162, 76, 0.35);
}

.art-body h3 {
    font-size: 1.2rem; font-weight: 700; color: var(--navy-2);
    margin: 1.9rem 0 0.7rem; scroll-margin-top: 90px;
}

.art-body ul, .art-body ol { margin: 0 0 1.3rem 1.4rem; }
.art-body li { margin-bottom: 0.55rem; }
.art-body a { color: var(--royal); font-weight: 600; text-decoration: none; }
.art-body a:hover { text-decoration: underline; }
.art-body strong { color: var(--navy); }

/* Table of contents */
.toc {
    display: none;
    background: var(--white);
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-left: 3px solid var(--gold);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin: 0 0 2rem;
    box-shadow: 0 2px 10px rgba(13, 27, 42, 0.04);
}

.toc h2 {
    font-size: 0.78rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
    color: #7d6328; margin: 0 0 0.65rem; border: none; padding: 0;
}

.toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    list-style: none;
}

.toc li { margin: 0; font-size: 0.86rem; }

.toc a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f3f6fb;
    color: var(--navy-2);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toc a:hover {
    background: rgba(30, 94, 255, 0.09);
    color: var(--royal);
    transform: translateY(-1px);
}

/* Data tables */
.art-body table {
    width: 100%; border-collapse: collapse; margin: 0 0 1.6rem;
    background: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 18px rgba(13, 27, 42, 0.06);
    font-size: 0.95rem;
}

.art-body th {
    background: var(--navy); color: var(--white); text-align: left;
    padding: 0.8rem 1rem; font-weight: 700; letter-spacing: 0.5px;
}

.art-body td { padding: 0.75rem 1rem; border-bottom: 1px solid #eef1f6; vertical-align: top; }
.art-body tr:last-child td { border-bottom: none; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Expert tip callout */
.tip-box {
    background: #FAF5E8;
    border: 1px solid rgba(200, 162, 76, 0.4);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 1.3rem 1.6rem;
    margin: 0 0 1.6rem;
}

.tip-box .tip-label {
    display: block; font-weight: 800; font-size: 0.78rem; letter-spacing: 2px;
    text-transform: uppercase; color: #9a7a2f; margin-bottom: 0.4rem;
    font-family: 'Poppins', sans-serif;
}

.tip-box p:last-child { margin-bottom: 0; }

/* "How ACCTAB helps" highlight panel */
.acctab-box {
    background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
    color: #dbe6f5;
    border-radius: 16px;
    border: 1px solid rgba(200, 162, 76, 0.4);
    padding: 2.2rem 2rem;
    margin: 2.6rem 0;
}

.acctab-box h2, .acctab-box h3 {
    color: var(--gold); border: none; margin: 0 0 1rem; padding: 0;
    font-size: 1.35rem;
}

.acctab-box p { color: #c6d3e4; }
.acctab-box ul { margin-left: 1.4rem; }
.acctab-box li { color: #c6d3e4; margin-bottom: 0.6rem; }
.acctab-box li strong { color: var(--white); }
.acctab-box a { color: #8db0ff; }
.acctab-box .box-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

/* Checklist */
.check-list {
    background: var(--white);
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 14px;
    padding: 1.7rem 1.8rem;
    margin: 0 0 1.6rem;
    box-shadow: 0 4px 18px rgba(13, 27, 42, 0.06);
    list-style: none;
    margin-left: 0 !important;
}

.check-list li {
    padding-left: 1.9rem; position: relative; margin-bottom: 0.7rem;
}

.check-list li::before {
    content: '✔'; position: absolute; left: 0; color: var(--green); font-weight: 700;
}

/* FAQ accordion (pure CSS, SEO-friendly) */
.faq { margin: 0 0 1.6rem; }

.faq details {
    background: var(--white);
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    box-shadow: 0 3px 12px rgba(13, 27, 42, 0.05);
    overflow: hidden;
    transition: border-color 0.25s;
}

.faq details[open] { border-color: rgba(200, 162, 76, 0.5); }

.faq summary {
    cursor: pointer; list-style: none;
    padding: 1.05rem 3rem 1.05rem 1.4rem;
    font-weight: 700; color: var(--navy); font-size: 1rem;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: '+'; position: absolute; right: 1.3rem; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem; font-weight: 400; color: var(--gold);
    transition: transform 0.25s;
}

.faq details[open] summary::after { content: '−'; }

.faq .faq-a { padding: 0 1.4rem 1.2rem; color: #444b54; }
.faq .faq-a p { margin-bottom: 0.8rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* CTA banner */
.cta-banner {
    background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
    border-radius: 18px;
    border: 1px solid rgba(200, 162, 76, 0.4);
    padding: 3rem 2rem;
    margin: 3rem 0 0;
    text-align: center;
    color: #dbe6f5;
}

.cta-banner h2 {
    color: var(--white); border: none; padding: 0; margin: 0 0 0.8rem;
    font-size: 1.7rem;
}

.cta-banner p { color: #c6d3e4; max-width: 620px; margin: 0 auto 1.7rem; }

.cta-banner .cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Related articles / services */
.related {
    max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 4.5rem;
}

.related h2 {
    font-size: 1.6rem; font-weight: 800; color: var(--navy);
    text-align: center; margin-bottom: 0.6rem;
}

.gold-divider {
    width: 64px; height: 3px; border-radius: 3px;
    background: var(--gold); margin: 0 auto 2.2rem;
}

.rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}

.rel-card {
    background: var(--white);
    border: 1px solid rgba(13, 27, 42, 0.07);
    border-radius: 14px;
    padding: 1.7rem 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(13, 27, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column;
}

.rel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(13, 27, 42, 0.12);
    border-color: rgba(200, 162, 76, 0.4);
}

.rel-card .cat {
    font-size: 0.7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: var(--royal); margin-bottom: 0.6rem; font-family: 'Poppins', sans-serif;
}

.rel-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.4; }
.rel-card p { font-size: 0.9rem; color: var(--muted); flex-grow: 1; margin-bottom: 1rem; }

.rel-card .read-more {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--royal); font-weight: 700; font-size: 0.9rem;
}

/* ============ Photo hero (services page) ============ */
.photo-hero {
    background:
        linear-gradient(160deg, rgba(13, 27, 42, 0.88) 0%, rgba(13, 27, 42, 0.72) 50%, rgba(20, 38, 59, 0.9) 100%),
        var(--hero-img, none) center 22% / cover no-repeat,
        var(--navy);
}

/* ============ Services grid (matches index.html cards) ============ */
.services-wrap { max-width: 1200px; margin: 0 auto; padding: 3.5rem 1.5rem 4.5rem; text-align: center; }

.section-eyebrow {
    font-weight: 700; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--royal); margin-bottom: 0.8rem;
}

.services-wrap h2 {
    font-size: 2.2rem; font-weight: 800; margin-bottom: 0.8rem; color: var(--navy);
    text-transform: uppercase; letter-spacing: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
    width: 100%;
    text-align: center;
}

.service-card {
    background: var(--white);
    padding: 2.2rem 2rem;
    border-radius: 14px;
    border: 1px solid rgba(13, 27, 42, 0.07);
    box-shadow: 0 4px 18px rgba(13, 27, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}

.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--royal), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}

.service-card:nth-child(1) { background: #EEF4FD; }
.service-card:nth-child(2) { background: #FAF5E8; }
.service-card:nth-child(3) { background: #ECF5F0; }
.service-card:nth-child(4) { background: #F2EFF9; }
.service-card:nth-child(5) { background: #FBF1EB; }
.service-card:nth-child(6) { background: #ECF4F7; }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 38px rgba(13, 27, 42, 0.12);
    border-color: rgba(200, 162, 76, 0.35);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 52px; height: 52px; margin: 0 auto 1.2rem; border-radius: 12px;
    background: rgba(30, 94, 255, 0.08); color: var(--royal);
    display: flex; align-items: center; justify-content: center;
}

.service-icon .icon { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: var(--navy); }

.service-card p {
    font-size: 0.96rem; line-height: 1.85; color: var(--muted);
    margin-bottom: 1.6rem; flex-grow: 1;
}

.card-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }

.details-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: var(--royal);
    padding: 0.72rem 1.4rem; border-radius: 12px; text-decoration: none;
    font-weight: 700; font-size: 0.92rem;
    border: 1.5px solid var(--royal);
    transition: background 0.25s, color 0.25s, transform 0.25s;
    cursor: pointer;
}

.details-btn:hover { background: var(--royal); color: var(--white); transform: translateY(-2px); }

/* ============ Learn More hub ============ */
.hub-wrap { max-width: 1160px; margin: 0 auto; padding: 3rem 1.5rem 4.5rem; }

.filter-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
    margin-bottom: 2.6rem;
}

.chip {
    border: 1.5px solid rgba(13, 27, 42, 0.18);
    background: var(--white);
    color: var(--navy-2);
    font-weight: 700; font-size: 0.86rem;
    padding: 0.5rem 1.2rem; border-radius: 30px; cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.chip:hover { border-color: var(--royal); color: var(--royal); transform: translateY(-2px); }

.chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.7rem;
}

.post-card {
    background: var(--white);
    border: 1px solid rgba(13, 27, 42, 0.07);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(13, 27, 42, 0.06);
    overflow: hidden;
    text-decoration: none;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.post-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--royal), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
    z-index: 2;
}

.post-card:hover { transform: translateY(-8px); box-shadow: 0 16px 38px rgba(13,27,42,0.12); border-color: rgba(200,162,76,0.35); }
.post-card:hover::before { transform: scaleX(1); }

.post-top {
    padding: 1.5rem 1.6rem 0;
    display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}

.post-cat {
    font-size: 0.68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    padding: 0.35rem 0.85rem; border-radius: 30px;
    font-family: 'Poppins', sans-serif;
}

.cat-accounting  { background: #EEF4FD; color: #1750E0; }
.cat-payroll     { background: #FAF5E8; color: #9a7a2f; }
.cat-bookkeeping { background: #ECF5F0; color: #14805a; }
.cat-advisory    { background: #F2EFF9; color: #6b4fb0; }
.cat-tax         { background: #FBF1EB; color: #b0562a; }
.cat-secretarial { background: #ECF4F7; color: #23708c; }

.post-read { font-size: 0.78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.post-card h2, .post-card h3 {
    font-size: 1.15rem; font-weight: 700; color: var(--navy);
    line-height: 1.45; padding: 0.9rem 1.6rem 0;
}

.post-card p {
    font-size: 0.93rem; color: var(--muted); line-height: 1.75;
    padding: 0.7rem 1.6rem 0; flex-grow: 1;
}

.post-foot {
    padding: 1.2rem 1.6rem 1.5rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--royal); font-weight: 700; font-size: 0.92rem;
}

.hub-intro {
    max-width: 800px; margin: 0 auto 2.6rem; text-align: center;
    color: #444b54; font-size: 1.03rem;
}

/* ============ Footer ============ */
footer {
    background: #0A1420;
    padding: 3.5rem 2rem 2.5rem;
    color: #b9c8dc;
    text-align: center;
}

.footer-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem;
    margin: 0 0 2rem; list-style: none;
}

.footer-links a {
    color: #b9c8dc; text-decoration: none; font-weight: 600; font-size: 0.92rem;
    transition: color 0.25s;
}

.footer-links a:hover { color: var(--gold); }

.whatsapp-btn {
    display: inline-flex; align-items: center; gap: 0.8rem;
    background: #1FAF5A; color: white;
    padding: 1.05rem 2.3rem; border-radius: 14px; text-decoration: none;
    font-weight: 700; font-size: 1.1rem;
    transition: background 0.25s, transform 0.25s;
    box-shadow: 0 6px 22px rgba(31, 175, 90, 0.3);
}

.whatsapp-btn:hover { background: #189A4D; transform: translateY(-2px); }

.footer-note {
    margin-top: 2rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--gold);
}

.footer-copy { margin-top: 0.6rem; font-size: 0.8rem; color: #6f7f93; }

/* ============ Floating contact buttons ============ */
.floating-btns {
    position: fixed; right: 1.2rem; bottom: 1.2rem;
    display: flex; flex-direction: column; gap: 0.7rem; z-index: 999;
}

.fab {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s;
    border: none; cursor: pointer;
}

.fab .icon, .fab .wa-glyph { width: 22px; height: 22px; }
.fab:hover { transform: translateY(-3px); }

.fab-whatsapp { background: #1FAF5A; }
.fab-phone    { background: var(--royal); }

.fab-top {
    background: var(--navy-2);
    border: 1px solid rgba(200, 162, 76, 0.5);
    color: var(--gold);
    opacity: 0; visibility: hidden;
}

.fab-top.show { opacity: 1; visibility: visible; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    nav ul { gap: 1.3rem; }
}

@media (max-width: 768px) {
    nav { padding: 0.7rem 1.2rem; }

    .hamburger { display: flex; }

    .nav-right {
        position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
        background: rgba(13, 27, 42, 0.98);
        flex-direction: column; justify-content: center; gap: 2.5rem;
        transform: translateX(100%); transition: transform 0.35s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-right.open { transform: translateX(0); }

    nav ul { flex-direction: column; gap: 2rem; }
    nav ul a { font-size: 1.15rem; }

    .brand-name { font-size: 1.05rem; letter-spacing: 2px; }
    .brand-tag { font-size: 0.44rem; letter-spacing: 1.1px; }
    .brand-logo { width: 40px; height: 40px; }

    .page-hero { padding: 7.5rem 1.2rem 3rem; }
    .page-hero h1 { font-size: 1.75rem; }
    .page-hero .lede { font-size: 1rem; }

    .art-wrap { padding: 2.5rem 1.1rem 3.5rem; }
    .art-body h2 { font-size: 1.35rem; }
    .toc {
        margin-left: -0.2rem;
        margin-right: -0.2rem;
        padding: 0.9rem;
    }

    .toc ol {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .toc li { flex: 0 0 auto; scroll-snap-align: start; }
    .toc a { white-space: nowrap; }

    .cta-banner { padding: 2.2rem 1.3rem; }
    .cta-banner .cta-btns a { width: 100%; }

    .acctab-box { padding: 1.7rem 1.3rem; }
    .acctab-box .box-ctas a { width: 100%; }

    .whatsapp-btn { font-size: 1rem; padding: 0.95rem 1.9rem; }
}
