/* ═══════════════════════════════════════════════════════
   ACCORG CONSULTING — Custom CSS
   Phase 3: Polished styles on top of Justica template
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   HOMEPAGE PULL-QUOTE
   Replaces the second H1 (duplicate) — styled to match
   the visual prominence without breaking H1 uniqueness.
   ═══════════════════════════════════════════════════════ */
.home-pullquote {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    font-style: italic;
    color: #fff;
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .home-pullquote { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════
   LOGO SIZE FIX
   ═══════════════════════════════════════════════════════ */
#logo img.logo,
#logo img.logo-2 {
    height: 55px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain;
}

@media (max-width: 767px) {
    #logo img.logo,
    #logo img.logo-2 {
        height: 42px !important;
        max-width: 160px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   CARD SYSTEM — Targeted Equal-Height Fix
   Covers: Service Cards, Blog Cards, Testimonials
   ═══════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────
   1. SERVICE FEATURE BOXES (services page grid)
   .feature-box.f-boxed.style-3
   Equal height via: col wraps become flex, card fills height
   ────────────────────────────────────────────────────── */

/* Only target cols that directly wrap a feature-box */
.col-lg-4:has(> .feature-box.f-boxed),
.col-md-6:has(> .feature-box.f-boxed) {
    display: flex;
    flex-direction: column;
}

.feature-box.f-boxed.style-3 {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    flex: 1;
    min-height: 260px;
    box-sizing: border-box;
}
.feature-box.f-boxed.style-3 .text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.feature-box.f-boxed.style-3 .text h4 { margin-bottom: 10px; }
.feature-box.f-boxed.style-3 .text p  { flex: 1 1 auto; margin-bottom: 0; }
.feature-box.f-boxed.style-3 .spacer-single { flex-shrink: 0; margin-top: auto; }
/* Keep button inline-block — do NOT set align-self which causes stretch */
.feature-box.f-boxed.style-3 .btn-custom {
    display: inline-block !important;
    width: auto !important;
}

/* ──────────────────────────────────────────────────────
   2. SERVICE POSTER CARDS (de-card-poster)
   All cards in the same row get the same fixed height.
   d-content uses absolute positioning — safe from flex issues.
   ────────────────────────────────────────────────────── */
.de-card-poster {
    position: relative !important;
    overflow: hidden !important;
    height: 360px !important;
    width: 100%;
    border-radius: 4px;
    /* Do NOT use flex here — d-image/d-content are absolute */
}

/* d-image fills card — override template's 110% margin hack */
.de-card-poster .d-image {
    position: absolute !important;
    top: 0 !important; right: 0 !important;
    bottom: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin-left: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.5s ease;
}
.de-card-poster:hover .d-image {
    transform: scale(1.05);
    margin-left: 0 !important;
}

/* Gradient overlay — always visible, dark at bottom */
.de-card-poster .d-overlay {
    position: absolute !important;
    top: 0 !important; right: 0 !important;
    bottom: 0 !important; left: 0 !important;
    min-height: 100% !important;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.40) 45%,
        rgba(0,0,0,0.10) 100%
    ) !important;
    z-index: 1;
    transition: background 0.35s ease;
}
.de-card-poster:hover .d-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.65) 55%,
        rgba(0,0,0,0.20) 100%
    ) !important;
}

/* Content at bottom — always visible */
.de-card-poster .d-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0; right: 0;
    z-index: 2;
    margin: 0 !important;
    padding: 18px 22px 20px !important;
}
.de-card-poster:hover .d-content { margin-bottom: 0 !important; }

/* h3 — icon is absolute inside it (template behaviour) */
.de-card-poster .d-content h3 {
    font-size: 17px !important;
    line-height: 1.35;
    padding-left: 38px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: solid 1px rgba(255,255,255,0.35);
    white-space: normal;
    word-break: break-word;
    color: #fff !important;
    position: relative;   /* needed for icon absolute */
}
.de-card-poster .d-content h3 i {
    font-size: 26px;
    position: absolute;
    left: 0;
    top: 0;
    color: #f0c060;
}

/* d-text always visible */
.de-card-poster .d-content .d-text {
    max-height: none !important;
    opacity: 1 !important;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More — inline, white text on gold background */
.de-card-poster .btn-main {
    opacity: 1 !important;
    display: inline-block !important;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: #fff !important;
    text-transform: uppercase;
    width: auto !important;
}

/* ──────────────────────────────────────────────────────
   3. BLOG CARDS — equal height within grid rows
   Use :has selector on col (modern) + safe fallback
   ────────────────────────────────────────────────────── */
.col-lg-4:has(> .bloglist.item),
.col-md-6:has(> .bloglist.item) {
    display: flex;
    flex-direction: column;
}

.bloglist.item {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.bloglist.item:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}

/* post-content/user-post: fills the card vertically */
.bloglist .post-content,
.bloglist .user-post {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* post-image: fixed height image block */
.bloglist .post-image {
    flex-shrink: 0;
    overflow: hidden;
    height: 220px;
    display: block;
    position: relative;
}
.bloglist .post-image a {
    display: block;
    height: 100%;
}
.bloglist .post-image img {
    width: 100%;
    height: 220px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.bloglist.item:hover .post-image img { transform: scale(1.04); }

/* post-text: grows, flexbox column */
.bloglist .post-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 18px;
    position: relative;
}
.bloglist .post-text .p-tagline { display: inline-block; margin-bottom: 10px; }
.bloglist .post-text h4 {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 8px;
}
.bloglist .post-text h4 a { color: inherit; }
.bloglist .post-text h4 a:hover { color: #b59a6a; }
.bloglist .post-text > p {
    flex: 1 1 auto;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}
/* Read More always sticks to bottom */
.bloglist .post-text .btn-custom {
    display: inline-block !important;
    width: auto !important;
    align-self: flex-start;
    margin-top: auto;
}

/* Date badge — sits on top-right of the image, not the text area */
.bloglist .date-box {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #b59a6a;
    color: #fff;
    text-align: center;
    padding: 5px 9px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.1;
    z-index: 5;
    min-width: 38px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    pointer-events: none;
}
.bloglist .date-box .m { font-size: 1.1rem; font-weight: 800; display: block; }
.bloglist .date-box .d { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; display: block; }

/* blog meta */
.bloglist .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.77rem;
    color: #999;
    margin-bottom: 10px;
}

/* ──────────────────────────────────────────────────────
   4. TESTIMONIALS — equal height blockquotes in owl
   ────────────────────────────────────────────────────── */
.owl-item .de_testi.opt-2 { height: 100%; }
.owl-item .de_testi.opt-2 blockquote {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    min-height: 180px;
}
.owl-item .de_testi.opt-2 blockquote p { flex: 1; }

/* ──────────────────────────────────────────────────────
   5. RESPONSIVE
   ────────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    .de-card-poster        { height: 320px !important; }
    .bloglist .post-image  { height: 190px; }
    .bloglist .post-image img { height: 190px !important; }
}

@media (max-width: 767px) {
    .de-card-poster        { height: 270px !important; }
    .de-card-poster .d-content { padding: 14px 16px 16px !important; }
    .de-card-poster .d-content h3 { font-size: 14px !important; padding-left: 30px; }
    .de-card-poster .d-content h3 i { font-size: 20px; }
    .de-card-poster .d-content .d-text { -webkit-line-clamp: 2; }
    .bloglist .post-image  { height: 195px; }
    .bloglist .post-image img { height: 195px !important; }
    .feature-box.f-boxed.style-3 { min-height: 210px; }
}

@media (max-width: 480px) {
    .de-card-poster        { height: 250px !important; }
    .bloglist .post-image  { height: 175px; }
    .bloglist .post-image img { height: 175px !important; }
}





/* ═══════════════════════════════════════════════════════
   TEMPLATE OVERRIDE FIXES

   Fix Justica template issues: button hover white text,
   dropdown link color, feature-box hover visibility.
   ═══════════════════════════════════════════════════════ */

/* Fix: btn-custom text always visible, gold hover background */
.btn-custom,
a.btn-custom,
button.btn-custom {
    color: #fff !important;
}
.btn-custom:hover,
a.btn-custom:hover,
button.btn-custom:hover {
    background-color: #9c7f4f !important;
    color: #fff !important;
    border-color: #9c7f4f !important;
}
/* Fix: btn-border variant — dark bg on hover instead of white */
.btn-custom.btn-border {
    color: #1a1a2e !important;
    border-color: #1a1a2e;
}
.btn-custom.btn-border:hover {
    background-color: #1a1a2e !important;
    border-color: #1a1a2e !important;
    color: #fff !important;
}

/* Fix: feature-box and nft__item hover — text must stay dark */
.feature-box:hover *,
.de-box:hover *,
.nft__item:hover * {
    color: inherit;
}

/* Fix: template's #mainmenu dropdown hover sets color:#fff which
   bleeds into .de-filter-menu and similar nav-adjacent elements. */
.de-filter-menu a { color: #1a1a2e; }
.de-filter-menu a:hover,
.de-filter-menu a.active { background: #b59a6a; color: #fff; border-color: #b59a6a; }

/* Fix: dark-section links should not inherit white-text hover from mainmenu */
#section-services a.btn-custom:hover { color: #fff !important; }

/* Define btn-black — dark charcoal button */
.btn-custom.btn-black,
a.btn-custom.btn-black {
    background: #1a1a2e;
    color: #fff !important;
    border-color: #1a1a2e;
}
.btn-custom.btn-black:hover,
a.btn-custom.btn-black:hover {
    background: #2c3e50 !important;
    border-color: #2c3e50 !important;
    color: #fff !important;
}

/* Define btn-border light — outline on dark/image background */
.btn-custom.btn-border.light,
a.btn-custom.btn-border.light {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.75);
}
.btn-custom.btn-border.light:hover,
a.btn-custom.btn-border.light:hover {
    background: #fff !important;
    color: #1a1a2e !important;
    border-color: #fff !important;
}

/* ── General Utilities ────────────────────────────────── */
.mt10  { margin-top: 10px; }
.mt20  { margin-top: 20px; }
.mt30  { margin-top: 30px; }
.mb10  { margin-bottom: 10px; }
.mb20  { margin-bottom: 20px; }
.pt40  { padding-top: 40px; }
.pb40  { padding-bottom: 40px; }
.text-gold  { color: #b59a6a; }
.bg-light-gray { background: #f7f8fa; }

/* ── Service Content Page ────────────────────────────── */
.service-content h2 {
    font-size: 1.6rem;
    margin-top: 35px;
    margin-bottom: 12px;
    color: #1a1a2e;
    border-left: 4px solid #b59a6a;
    padding-left: 14px;
}
.service-content h3 {
    font-size: 1.2rem;
    margin-top: 24px;
    color: #2c3e50;
}
.service-content ul, .service-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
    line-height: 1.85;
}
.service-content li { margin-bottom: 6px; }
.service-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}
.service-content table th {
    background: #1a1a2e;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
}
.service-content table td {
    border: 1px solid #dee2e6;
    padding: 9px 14px;
}
.service-content table tr:nth-child(even) td { background: #f7f8fa; }

/* FAQ items inside service pages */
.service-content .faq-section h3 {
    color: #b59a6a;
    margin-top: 20px;
    font-size: 1.05rem;
}

/* ── Blog Cards ──────────────────────────────────────── */
.bloglist .post-content { border-radius: 6px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.bloglist .post-image img { width: 100%; height: 210px; object-fit: cover; transition: transform .4s ease; }
.bloglist:hover .post-image img { transform: scale(1.04); }
.bloglist .post-text { padding: 18px 20px 24px; }
.bloglist .post-text h4 a { color: #1a1a2e; font-size: 1.05rem; line-height: 1.5; }
.bloglist .post-text h4 a:hover { color: #b59a6a; }
.bloglist .p-tagline {
    display: inline-block;
    background: #b59a6a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

/* ── Blog Single Post ─────────────────────────────────── */
.blog-post-content h2, .blog-post-content h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}
.blog-post-content h2 { font-size: 1.5rem; color: #1a1a2e; }
.blog-post-content h3 { font-size: 1.15rem; }
.blog-post-content ul, .blog-post-content ol {
    padding-left: 22px;
    margin-bottom: 16px;
    line-height: 1.9;
}
.blog-post-content li { margin-bottom: 5px; }
.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}
.blog-post-content table th {
    background: #1a1a2e;
    color: #fff;
    padding: 9px 12px;
    text-align: left;
}
.blog-post-content table td {
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}
.blog-post-content table tr:nth-child(even) td { background: #f7f8fa; }

/* Author box */
.author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f7f8fa;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #b59a6a;
    border-radius: 8px;
    padding: 22px;
    margin: 40px 0 30px;
}
.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.author-box h5 { margin: 0 0 4px; font-size: 1.05rem; }
.author-box .author-title { color: #b59a6a; font-size: 0.85rem; margin-bottom: 8px; display: block; }
.author-box p { margin: 0; font-size: 0.92rem; line-height: 1.7; }

/* Social share */
.share-buttons { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0077B5; }
.share-btn.twitter  { background: #1DA1F2; }

/* Blog sidebar */
.blog-sidebar .widget {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 28px;
}
.blog-sidebar .widget h5 {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 2px solid #b59a6a;
    padding-bottom: 10px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.blog-sidebar .recent-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.blog-sidebar .recent-post-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.blog-sidebar .recent-post-item img { width: 60px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.blog-sidebar .rpi-text a { font-size: 0.88rem; line-height: 1.5; font-weight: 600; color: #1a1a2e; }
.blog-sidebar .rpi-text a:hover { color: #b59a6a; }

/* Tags */
.tag-cloud a {
    display: inline-block;
    background: #f0f2f5;
    color: #3a3a4a;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.82rem;
    margin: 3px 3px 3px 0;
    transition: all .2s;
}
.tag-cloud a:hover { background: #b59a6a; color: #fff; }

/* ── Pagination ───────────────────────────────────────── */
.pagination-wrap { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0; }
.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    transition: all .2s;
    text-decoration: none;
}
.pagination-wrap a:hover,
.pagination-wrap span.current {
    background: #b59a6a;
    border-color: #b59a6a;
    color: #fff;
}
.pagination-wrap span.current { pointer-events: none; }

/* ── Category Filter Tabs ─────────────────────────────── */
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.category-tabs a {
    padding: 7px 18px;
    border-radius: 25px;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: all .2s;
}
.category-tabs a:hover,
.category-tabs a.active {
    background: #b59a6a;
    border-color: #b59a6a;
    color: #fff;
}

/* ── Case Studies ─────────────────────────────────────── */
.case-study-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.case-study-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.13); }

/* Dark gradient header */
.case-study-card .cs-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    padding: 22px 22px 18px;
    color: #fff;
    flex-shrink: 0;
}
.case-study-card .cs-industry {
    display: inline-block;
    background: rgba(181,154,106,.22);
    color: #f0c060;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.case-study-card .cs-industry i { margin-right: 5px; }
.case-study-card .cs-header h4 { color: #fff; font-size: 1rem; margin: 0; line-height: 1.55; }

/* Body */
.case-study-card .cs-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.case-study-card .cs-challenge {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}
.case-study-card .cs-challenge strong { display: block; margin-bottom: 5px; }

.case-study-card .cs-outcome {
    background: #f0f9f0;
    border-left: 3px solid #27ae60;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.7;
    border-radius: 0 4px 4px 0;
    margin-top: auto;
}
.case-study-card .cs-outcome strong { color: #27ae60; display: block; margin-bottom: 4px; }

/* Footer */
.case-study-card .cs-footer {
    padding: 13px 22px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}
.case-study-card .cs-footer a:first-child {
    font-size: 0.88rem;
    font-weight: 700;
    color: #b59a6a;
    text-decoration: none;
    transition: color .2s;
}
.case-study-card .cs-footer a:first-child:hover { color: #9c7f4f; }
.case-study-card .cs-footer a:first-child i { margin-left: 4px; }

/* ── Contact Form ─────────────────────────────────────── */
.contact-form-wrap .form-control {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 11px 15px;
    font-size: 0.95rem;
    transition: border-color .2s, box-shadow .2s;
}
.contact-form-wrap .form-control:focus {
    border-color: #b59a6a;
    box-shadow: 0 0 0 3px rgba(181,154,106,.18);
    outline: none;
}
.contact-form-wrap .form-group { margin-bottom: 18px; }
.contact-form-wrap label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; display: block; }
.contact-form-wrap .btn-send {
    background: #b59a6a;
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background .2s, transform .15s;
    width: 100%;
}
.contact-form-wrap .btn-send:hover { background: #9c7f4f; transform: translateY(-1px); }
.contact-form-wrap .btn-send:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* Form status messages — hidden by default, shown via jQuery .show() */
.form-msg {
    display: none;
    padding: 14px 18px;
    border-radius: 5px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-msg.success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-msg.error   { display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── Testimonials Page ───────────────────────────────── */
.testimonial-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: #b59a6a;
    opacity: .18;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-card .stars { color: #f1c40f; margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-card .content { font-style: italic; line-height: 1.8; margin-bottom: 18px; font-size: 0.96rem; }
.testimonial-card .client-info { display: flex; align-items: center; gap: 14px; }
.testimonial-card .client-info img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #b59a6a;
}
.testimonial-card .client-info .initials-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #b59a6a);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-card .client-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-card .client-title { font-size: 0.82rem; color: #888; }

/* ── Team Cards ───────────────────────────────────────── */
.team-card-custom {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    transition: transform .3s;
}
.team-card-custom:hover { transform: translateY(-5px); }
.team-card-custom .team-img-wrap { position: relative; overflow: hidden; height: 260px; }
.team-card-custom .team-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card-custom:hover .team-img-wrap img { transform: scale(1.06); }
.team-card-custom .team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}
.team-card-custom:hover .team-overlay { opacity: 1; }
.team-card-custom .team-body { padding: 20px; }
.team-card-custom .team-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.team-card-custom .team-designation { color: #b59a6a; font-size: 0.85rem; margin-bottom: 10px; }
.team-card-custom .team-specialization { font-size: 0.83rem; color: #777; line-height: 1.6; }

/* ── FAQ Accordion ────────────────────────────────────── */
.faq-accordion .faq-item {
    border: 1px solid #e8ecef;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-accordion .faq-question {
    padding: 16px 20px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.98rem;
    transition: background .2s;
}
.faq-accordion .faq-question:hover { background: #fafafa; }
.faq-accordion .faq-question.active { background: #1a1a2e; color: #fff; }
.faq-accordion .faq-question .faq-icon { font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
.faq-accordion .faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-accordion .faq-answer {
    display: none;
    padding: 16px 20px 18px;
    background: #f9f9f9;
    font-size: 0.94rem;
    line-height: 1.8;
    border-top: 1px solid #e8ecef;
}
.faq-category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #b59a6a;
    border-bottom: 2px solid #b59a6a;
    padding-bottom: 10px;
    margin: 40px 0 20px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── 404 Page ─────────────────────────────────────────── */
.page-404 { text-align: center; padding: 80px 0; }
.page-404 .error-code { font-size: 120px; font-weight: 900; color: #b59a6a; line-height: 1; }
.page-404 h2 { font-size: 2rem; margin-bottom: 16px; }

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb-accorg { background: transparent; padding: 0; margin: 0; }
.breadcrumb-accorg li { font-size: 0.85rem; }
.breadcrumb-accorg a { color: #b59a6a; }
.breadcrumb-accorg .active { color: rgba(255,255,255,.7); }
.breadcrumb-accorg .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── Flash Messages ───────────────────────────────────── */
.flash-message {
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.flash-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-message.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash-message.info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ── Related Services Sidebar ────────────────────────── */
.sidebar-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    color: #fff;
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    margin-bottom: 28px;
}
.sidebar-cta h4 { color: #f0c060; margin-bottom: 14px; }
.sidebar-cta p { font-size: 0.92rem; opacity: .85; margin-bottom: 18px; }
.sidebar-cta .phone-link {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #f0c060;
    margin-bottom: 16px;
    text-decoration: none;
}
.sidebar-cta .btn-consult {
    display: block;
    background: #b59a6a;
    color: #fff;
    padding: 11px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.sidebar-cta .btn-consult:hover { background: #9c7f4f; color: #fff; }

/* Related services list */
.related-services-list { list-style: none; padding: 0; margin: 0; }
.related-services-list li { border-bottom: 1px solid #f0f0f0; padding: 10px 0; }
.related-services-list li:last-child { border-bottom: none; }
.related-services-list a { font-size: 0.92rem; color: #1a1a2e; display: flex; align-items: center; gap: 8px; }
.related-services-list a:hover { color: #b59a6a; }
.related-services-list a i { color: #b59a6a; font-size: 0.8rem; }

/* ── Case Study Single Page ─────────────────────────── */
.case-study-meta-box {
    background: #f7f8fa;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 28px;
}
.cs-meta-item { margin-bottom: 14px; }
.cs-meta-item .cs-meta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: #888;
    margin-bottom: 4px;
}
.cs-meta-item .cs-meta-value { font-weight: 600; font-size: 0.95rem; }

.cs-outcome-box {
    background: #eafaf1;
    border: 1px solid #a9dfbf;
    border-left: 4px solid #27ae60;
    border-radius: 6px;
    padding: 20px 22px;
    margin: 28px 0;
}
.cs-outcome-box h4 { color: #27ae60; font-size: 1rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }

/* ═══════════════════════════════════════════════════════
   ACCORG MEGA MENU — #accorg-mega
   Lives inside <header> but OUTSIDE #mainmenu.
   Template CSS has zero effect on this element.
   ═══════════════════════════════════════════════════════ */

/* ── Mega menu wrapper — hidden by default ─────────── */
#accorg-mega {
    display: none;
    position: absolute;
    top: 100%;          /* flush below header bottom edge */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid #b59a6a;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    z-index: 9999;
    animation: megaFadeIn .18s ease;
}
#accorg-mega.mega-open { display: block; }

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Inner container: 3-column flex ──────────────────  */
.mega-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: stretch;
}

/* ── Each column ──────────────────────────────────────  */
.mega-col {
    flex: 1;
    border-right: 1px solid #efefef;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.mega-col:last-child { border-right: none; }
.mega-col-indore { background: #fffefa; }
.mega-col-fin    { background: #f9fafc; }

/* ── Column heading ────────────────────────────────── */
.mega-col-hd {
    padding: 12px 18px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #b59a6a;
    border-bottom: 1px solid #f0e8d5;
    background: #fffdf8;
    white-space: nowrap;
    line-height: 1.5;
}
.mega-col-indore .mega-col-hd { background: #fffbf0; }
.mega-col-fin    .mega-col-hd { background: #f0f4ff; }

.mega-col-hd i   { margin-right: 6px; opacity: .75; font-size: 12px; }
.mega-col-hd span { color: #bbb; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .65rem; }

/* ── Service links ─────────────────────────────────── */
.mega-col > a {
    display: block;
    padding: 9px 18px;
    font-size: 0.84rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: color .13s, background .13s, padding-left .13s;
    white-space: nowrap;
    line-height: 1.4;
}
.mega-col > a:hover {
    color: #b59a6a;
    background: #fffbf0;
    padding-left: 26px;
    border-bottom-color: #f0e8d5;
}
.mega-col > a > i.fa-angle-right {
    font-size: 10px;
    color: #ccc;
    margin-right: 7px;
    transition: color .13s;
}
.mega-col > a:hover > i.fa-angle-right { color: #b59a6a; }

/* ── Info note at bottom of Indore column ─────────── */
.mega-col-note {
    margin-top: auto;
    padding: 10px 18px 12px;
    font-size: 0.72rem;
    color: #aaa;
    border-top: 1px solid #f0e8d5;
    background: #fffbf5;
    line-height: 1.5;
}
.mega-col-note i { margin-right: 5px; color: #b59a6a; }

/* ── Services nav item: show arrow when active ────── */
#nav-services.has-mega > a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 5px;
    font-size: 11px;
    opacity: .6;
    display: inline-block;
    transition: transform .15s;
}
#nav-services.has-mega.mega-active > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Keep services submenu hidden on desktop; mega menu handles desktop UX */
#nav-services > ul.mobile-services-submenu {
    display: none !important;
}

/* ── Responsive: hide mega on mobile (use standard nav) */
@media (max-width: 991px) {
    #accorg-mega { display: none !important; }

    /* Enable mobile services dropdown list in collapsed nav */
    #nav-services > ul.mobile-services-submenu {
        display: block !important;
    }

    /* Mobile hero CTA buttons: full-width, no overlap */
    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    .hero-cta-group .btn-custom,
    .hero-cta-group .btn-custom.btn-border.light {
        display: block !important;
        width: 100%;
        min-height: 44px;
        text-align: center;
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .page-404 .error-code { font-size: 80px; }
    .share-buttons { justify-content: center; }
    .category-tabs { justify-content: center; }
    .blog-sidebar { margin-top: 40px; }
    .service-content h2 { font-size: 1.3rem; }
}


/* ── Team profile image — standardize height across all cards */
.fp-wrap .fp-image {
    display: block !important;
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 4px 4px 0 0;
}

/* ── Team member icon placeholder (when no photo uploaded) */
.fp-icon-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 4px 0 0;
}
.fp-icon-placeholder .fa-user-circle {
    font-size: 3.5rem;
    color: #c8a951;
    opacity: 0.6;
}

/* ── Accordion icon — explicit so it always renders */
.accordion-section-title {
    position: relative;
    padding-right: 40px !important;
}
.accordion-section-title::before {
    font-family: "FontAwesome" !important;
    content: "\f107" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    float: none !important;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 3px;
    font-size: 14px !important;
    padding: 0 !important;
    transition: transform 0.25s ease;
}
.accordion-section-title.active::before {
    content: "\f106" !important;
    transform: translateY(-50%) !important;
}

/* ── FAQ CTA buttons — proper spacing (Bootstrap 5.0 has no gap util) */
.de-box .btn-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.de-box .btn-cta-group .btn-custom {
    margin: 0;
}

/* ── CTA Bar — desktop: text left, button right */
.cta-bar-heading { text-align: left; }
.cta-bar-btn     { text-align: right; }
.cta-bar-btn .btn-custom { white-space: nowrap; }

/* ── CTA Bar + Team placeholder — mobile responsive */
@media (max-width: 767px) {
    .fp-wrap .fp-image { height: 240px !important; }
    .fp-icon-placeholder { height: 240px; }
    .fp-icon-placeholder .fa-user-circle { font-size: 2.8rem; }

    /* CTA bar: stack heading above button, center both */
    .cta-bar-heading { text-align: center; margin-bottom: 20px; }
    .cta-bar-btn     { text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   COMPACT TEAM CARD — for associate members without photos
   ══════════════════════════════════════════════════════════ */
.team-section-sub {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #b59a6a;
    border-bottom: 2px solid #b59a6a;
    padding-bottom: 8px;
}

.team-compact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}
.team-compact-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

/* Photo circle — 64px */
.tcc-photo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e8ecef;
}
.tcc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Icon when no photo */
.tcc-no-photo {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tcc-no-photo .fa-user-circle {
    font-size: 1.9rem;
    color: #c8a951;
    opacity: 0.7;
}

/* Info area */
.tcc-info { flex: 1; min-width: 0; }
.tcc-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tcc-desig {
    display: block;
    font-size: 0.78rem;
    color: #b59a6a;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}
.tcc-spec {
    font-size: 0.76rem;
    color: #888;
    line-height: 1.5;
    margin: 0 0 6px;
}
.tcc-links {
    display: flex;
    gap: 8px;
}
.tcc-links a {
    color: #999;
    font-size: 0.95rem;
    transition: color .2s;
}
.tcc-links a:hover { color: #b59a6a; }

/* ══════════════════════════════════════════════════════════
   "WHO WE ARE" SECTION — Fix 800+ counter box positioning
   ══════════════════════════════════════════════════════════ */
.de-images {
    position: relative;
    overflow: visible !important;
}
.de-images .di-big {
    border-radius: 6px;
    display: block;
    width: 100%;
}
.de-images .di-text {
    position: absolute !important;
    bottom: -18px !important;
    left: -18px !important;
    top: auto !important;
    width: auto !important;
    min-width: 160px;
    max-width: 200px;
    padding: 18px 22px !important;
    border-radius: 6px;
    z-index: 2;
    text-align: center;
}
.de-images .di-text .de-count-big {
    font-size: 2.4rem !important;
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}
.de-images .di-text span {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.9;
    display: block;
}

@media (max-width: 767px) {
    .de-images .di-text {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        display: inline-block;
        margin-top: 14px;
        max-width: 100%;
    }
}

/* ══════════════════════════════════════════════════════════
   FAQ "STILL HAVE QUESTIONS" BOX — spacing & readability
   ══════════════════════════════════════════════════════════ */
.de-box.bg-color {
    padding: 36px 30px !important;
    border-radius: 8px;
}
.de-box.bg-color h3 { color: #fff; margin-bottom: 10px; }
.de-box.bg-color p  { color: rgba(255,255,255,.88); margin-bottom: 0; }

/* Buttons inside gold box */
.btn-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 0;
}
.btn-cta-group .btn-custom {
    min-width: 180px;
    text-align: center;
}

@media (max-width: 576px) {
    .de-box.bg-color { padding: 28px 18px !important; }
    .btn-cta-group .btn-custom { min-width: 0; width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   CONTACT FORM — ensure inputs visible on light background
   (form-border class removed from HTML, but add safety net)
   ══════════════════════════════════════════════════════════ */
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea,
.contact-form-wrap select {
    background-color: #fff !important;
    color: #333 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 5px !important;
    padding: 11px 15px !important;
}
.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
    border-color: #b59a6a !important;
    box-shadow: 0 0 0 3px rgba(181,154,106,.18) !important;
    outline: none !important;
    color: #333 !important;
    background-color: #fff !important;
}
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
    color: #aaa !important;
    opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════
   DARK OVERLAY FOR JARALLAX HERO + PARALLAX SECTIONS
   Required so light hero images don't wash out white text.
   Uses a left-to-right gradient on hero (text is right-side)
   and a right-to-left gradient on the "Our Approach" section
   (text is left-side).
   ═══════════════════════════════════════════════════════ */
section.jarallax {
    position: relative;
    overflow: hidden;
}
section.jarallax > .jarallax-img {
    z-index: 0;
}
/* Default dark overlay for any jarallax hero */
section.jarallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 14, 30, 0.20) 0%,
        rgba(10, 14, 30, 0.55) 45%,
        rgba(10, 14, 30, 0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
}
/* Variant: text on the LEFT side (e.g. "Our Approach") */
section.jarallax.overlay-left::before {
    background: linear-gradient(
        270deg,
        rgba(10, 14, 30, 0.20) 0%,
        rgba(10, 14, 30, 0.55) 45%,
        rgba(10, 14, 30, 0.88) 100%
    );
}
/* Variant: centered overlay (subheader page banners) */
section.jarallax.overlay-center::before {
    background: linear-gradient(
        180deg,
        rgba(10, 14, 30, 0.55) 0%,
        rgba(10, 14, 30, 0.70) 100%
    );
}
/* Make sure jarallax content sits above the overlay */
section.jarallax > .container,
section.jarallax > .center-y,
section.jarallax > div:not(.jarallax-img) {
    position: relative;
    z-index: 2;
}
/* Stronger contrast on hero text */
section.jarallax h1,
section.jarallax h2,
section.jarallax .home-pullquote {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
section.jarallax p,
section.jarallax .list,
section.jarallax .list li {
    color: #f4f4f4 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
section.jarallax .id-color {
    color: #f0c060 !important;
}

/* ═══════════════════════════════════════════════════════
   "OUR APPROACH" — fill the empty right column with a
   credentials / certification card so the section reads
   visually balanced.
   ═══════════════════════════════════════════════════════ */
.approach-credentials {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(240, 192, 96, 0.35);
    border-radius: 12px;
    padding: 32px 28px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}
.approach-credentials .ac-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.approach-credentials .ac-stat:last-child { border-bottom: 0; }
.approach-credentials .ac-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0c060, #b59a6a);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.approach-credentials .ac-text strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 2px;
}
.approach-credentials .ac-text span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIAL CARDS — restore comfortable padding so
   content does not stick to the card edges.
   ═══════════════════════════════════════════════════════ */
.de-testimonial-box {
    padding: 32px 28px !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.de-testimonial-box .testimonial-text {
    margin-top: 10px;
    flex-grow: 1;
}
.de-testimonial-box .client-info {
    padding-top: 18px !important;
    margin-top: 22px !important;
    border-top: 1px solid #f0e7d3 !important;
}
.de-testimonial-box .star-rating {
    margin-bottom: 14px !important;
}
.de-testimonial-box .p-tagline {
    margin-bottom: 16px !important;
    background: #fdf8e6;
    color: #b59a6a;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}
@media (max-width: 575px) {
    .de-testimonial-box {
        padding: 24px 20px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   HERO — CREATIVE FLOATING-CARD STACK (LEFT SIDE)
   Designer composition: glass-morphism stat card,
   chip cluster with practice areas, testimonial blurb,
   and a brass circular credential badge.
   Hidden below 992px to keep mobile clean.
   ═══════════════════════════════════════════════════════ */
.hero-section .hero-stack-col {
    position: relative;
    min-height: 560px;
}
.hero-creative-stack {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 560px;
    pointer-events: none;
}
.hero-creative-stack .hero-card {
    position: absolute;
    pointer-events: auto;
    background: rgba(20, 24, 44, 0.55);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(240, 192, 96, 0.32);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    color: #fff;
    overflow: hidden;
}
.hero-creative-stack .hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

/* Card 1 — Top stat */
.hero-card-stat {
    top: 38px;
    left: 8px;
    width: 280px;
    padding: 18px 20px;
    transform: rotate(-3deg);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: heroFloatA 6.5s ease-in-out infinite;
}
.hero-card-stat .hc-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0c060, #b59a6a);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 22px rgba(240, 192, 96, 0.35);
}
.hero-card-stat .hc-text strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.hero-card-stat .hc-text span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

/* Card 2 — Center practice-area chips */
.hero-card-chips {
    top: 195px;
    left: 60px;
    width: 360px;
    max-width: calc(100% - 30px);
    padding: 22px 22px 18px;
    z-index: 2;
}
.hero-card-chips .hcc-head {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f0c060;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.hero-card-chips .hcc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f0c060;
    box-shadow: 0 0 0 4px rgba(240, 192, 96, 0.2);
    animation: pulseDot 2s ease-in-out infinite;
}
.hero-card-chips .hcc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-card-chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 20px;
    transition: all 0.25s ease;
}
.hero-card-chips .chip i {
    color: #f0c060;
    font-size: 0.78rem;
}
.hero-card-chips .chip:hover {
    background: rgba(240, 192, 96, 0.18);
    border-color: rgba(240, 192, 96, 0.5);
    transform: translateY(-2px);
}

/* Card 3 — Bottom testimonial */
.hero-card-quote {
    bottom: 40px;
    left: 18px;
    width: 320px;
    padding: 20px 22px;
    transform: rotate(2deg);
    animation: heroFloatB 7.5s ease-in-out infinite;
}
.hero-card-quote .hq-stars {
    color: #f0c060;
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 2px;
}
.hero-card-quote .hq-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #fff;
    font-style: italic;
    margin-bottom: 10px;
}
.hero-card-quote .hq-author {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
}

/* Floating brass credential badge */
.hero-badge {
    position: absolute;
    top: 130px;
    right: 30px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0c060 0%, #b59a6a 100%);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4),
                inset 0 0 0 4px rgba(255, 255, 255, 0.18);
    z-index: 3;
    animation: heroFloatC 5.5s ease-in-out infinite;
}
.hero-badge::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(240, 192, 96, 0.55);
    animation: badgeRing 14s linear infinite;
}
.hero-badge span {
    line-height: 1.2;
    font-size: 0.78rem;
    font-weight: 600;
}
.hero-badge strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

/* Float animations */
@keyframes heroFloatA {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-12px) rotate(-3deg); }
}
@keyframes heroFloatB {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50%      { transform: translateY(-10px) rotate(2deg); }
}
@keyframes heroFloatC {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-8px) scale(1.03); }
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(240, 192, 96, 0.2); }
    50%      { box-shadow: 0 0 0 8px rgba(240, 192, 96, 0.05); }
}
@keyframes badgeRing {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-card-stat,
    .hero-card-quote,
    .hero-badge,
    .hero-card-chips .hcc-dot,
    .hero-badge::before {
        animation: none !important;
    }
}

/* Tablet shrink */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-card-stat   { width: 240px; left: 0; }
    .hero-card-chips  { width: 310px; left: 30px; top: 180px; }
    .hero-card-quote  { width: 280px; left: 0; }
    .hero-badge       { right: 0; width: 96px; height: 96px; }
}

/* ═══════════════════════════════════════════════════════
   INSIGHTS HUB — Pillar guides + practitioner articles
   Editorial layout, premium feel, AI-citation-friendly.
   ═══════════════════════════════════════════════════════ */
.insight-section { padding: 60px 0 30px; }
.insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    color: #5a6470;
    font-size: 0.85rem;
    margin: 14px 0 4px;
}
.insight-meta i { color: #b59a6a; margin-right: 4px; }
.im-pill {
    background: linear-gradient(135deg, #b59a6a, #8a6d3b);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
}
.im-pill-article {
    background: linear-gradient(135deg, #1a1a2e, #2c2c54);
}

/* TOC */
.insight-toc {
    background: #fafaf7;
    border-left: 4px solid #b59a6a;
    border-radius: 6px;
    padding: 20px 22px 18px;
}
.insight-toc h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c5226;
    margin-bottom: 12px;
}
.insight-toc h5 i { color: #b59a6a; margin-right: 6px; }
.insight-toc ol {
    margin: 0;
    padding-left: 22px;
    columns: 1;
    line-height: 1.85;
}
@media (min-width: 992px) { .insight-toc ol { columns: 2; column-gap: 24px; } }
.insight-toc ol li a {
    color: #1a1a2e;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.18s ease;
}
.insight-toc ol li a:hover { color: #b59a6a; }

/* Body */
.insight-body { font-size: 1.02rem; line-height: 1.78; color: #2d343f; }
.insight-body h2 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin: 40px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0c060;
}
.insight-body h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin: 24px 0 10px;
}
.insight-body h4 { font-size: 1.05rem; color: #1a1a2e; margin: 20px 0 8px; }
.insight-body p { margin-bottom: 14px; }
.insight-body ul, .insight-body ol { margin: 0 0 18px 22px; line-height: 1.85; }
.insight-body ul li, .insight-body ol li { margin-bottom: 6px; }
.insight-body strong { color: #1a1a2e; font-weight: 700; }
.insight-body table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.insight-body table th {
    background: #1a1a2e;
    color: #f0c060;
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #1a1a2e;
}
.insight-body table td {
    border: 1px solid #e6e6e6;
    padding: 10px 12px;
    vertical-align: top;
}
.insight-body table tr:nth-child(even) td { background: #fafafa; }
.insight-body blockquote {
    border-left: 4px solid #b59a6a;
    background: #fdf8e6;
    margin: 18px 0;
    padding: 14px 18px;
    color: #5b4a2c;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}
.insight-body .callout {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-left: 4px solid #1a1a2e;
    padding: 16px 18px;
    border-radius: 0 8px 8px 0;
    margin: 18px 0;
}
.insight-body .callout strong { color: #1a1a2e; }
.insight-body .callout-warn {
    background: #fff7f0;
    border-left-color: #d97706;
}
.insight-body .callout-tip {
    background: #f0f9f0;
    border-left-color: #2f9e44;
}
.insight-body code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.88em;
    color: #b91c1c;
}

/* Statutory references */
.insight-stat-refs {
    background: #fafaf7;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 30px;
}
.insight-stat-refs h3 { font-size: 1.1rem; color: #1a1a2e; margin: 0 0 12px; }
.insight-stat-refs h3 i { color: #b59a6a; margin-right: 8px; }
.insight-stat-refs ul { margin: 0; padding-left: 22px; line-height: 1.8; }
.insight-stat-refs ul li { margin-bottom: 8px; font-size: 0.92rem; }
.insight-stat-refs .ext-link {
    color: #b59a6a;
    margin-left: 4px;
    text-decoration: none;
}

/* Pillar link */
.insight-pillar-link {
    background: #f0e7d3;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.92rem;
    color: #5b4a2c;
}
.insight-pillar-link a { color: #8a6d3b; text-decoration: underline; }

/* Cluster grid (related articles) */
.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.cluster-grid-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cluster-card {
    display: block;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    padding: 20px 22px 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    position: relative;
}
.cluster-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.1);
    border-color: #b59a6a;
}
.cluster-card .cc-tag {
    display: inline-block;
    background: #fdf8e6;
    color: #b59a6a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.cluster-card h4 {
    font-size: 1.02rem;
    line-height: 1.35;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.cluster-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #5a6470;
    margin: 0 0 12px;
}
.cluster-card .cc-link {
    color: #b59a6a;
    font-weight: 700;
    font-size: 0.85rem;
}
.cluster-card .cc-link i { margin-left: 4px; transition: transform 0.18s ease; }
.cluster-card:hover .cc-link i { transform: translateX(4px); }

/* Author byline */
.insight-author {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fafaf7;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 30px 0 18px;
}
.insight-author img,
.insight-author .ia-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.insight-author .ia-fallback {
    background: linear-gradient(135deg, #1a1a2e, #b59a6a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.insight-author > div { display: flex; flex-direction: column; gap: 2px; }
.insight-author strong { color: #1a1a2e; font-size: 1rem; }
.insight-author span { font-size: 0.85rem; color: #5a6470; }
.insight-author a { color: #b59a6a; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.insight-author a:hover { text-decoration: underline; }

/* Compliance footer note */
.insight-compliance {
    background: #fdf8e6;
    border-left: 4px solid #c8a951;
    border-radius: 4px;
    padding: 12px 16px;
    margin-top: 20px;
}
.insight-compliance small {
    color: #6c5226;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Sidebar */
.insight-sidebar-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c2c54 100%);
    color: #fff;
    border-radius: 12px;
    padding: 26px 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(26, 26, 46, 0.18);
}
.insight-sidebar-cta .p-tagline {
    background: #f0c060;
    color: #1a1a2e;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.insight-sidebar-cta h5 { color: #fff; font-size: 1.1rem; margin: 12px 0 6px; }
.insight-sidebar-cta p { color: rgba(255,255,255,0.78); font-size: 0.88rem; line-height: 1.55; margin-bottom: 16px; }
.insight-sidebar-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 8px;
    transition: transform 0.15s ease;
}
.insight-sidebar-cta a:hover { transform: translateX(2px); }
.isc-phone { background: rgba(240, 192, 96, 0.16); color: #f0c060 !important; }
.isc-wa    { background: #25D366; color: #fff !important; }
.isc-form  { background: rgba(255,255,255,0.08); color: #fff !important; border: 1px solid rgba(255,255,255,0.16); }

.insight-sidebar-nav, .insight-sidebar-news {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 24px;
}
.insight-sidebar-nav h5, .insight-sidebar-news h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1a2e;
    border-bottom: 2px solid #b59a6a;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.insight-sidebar-nav h5 i, .insight-sidebar-news h5 i { color: #b59a6a; margin-right: 6px; }
.insight-sidebar-nav ul { list-style: none; padding: 0; margin: 0; }
.insight-sidebar-nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #2d343f;
    text-decoration: none;
    font-size: 0.92rem;
    border-bottom: 1px dashed #e6e8ec;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.insight-sidebar-nav ul li:last-child a { border-bottom: 0; }
.insight-sidebar-nav ul li a:hover { color: #b59a6a; padding-left: 4px; }
.insight-sidebar-nav ul li a i { color: #b59a6a; }
.insight-sidebar-news p { font-size: 0.86rem; color: #5a6470; line-height: 1.55; margin-bottom: 12px; }
.insight-sidebar-news input { font-size: 0.9rem; }

/* Hub index */
.insight-hub-section { padding: 60px 0; }
.pillar-card {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #fafaf7 100%);
    border: 1px solid #e6d3a3;
    border-radius: 14px;
    padding: 28px 26px 22px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.18s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(181, 154, 106, 0.18);
}
.pillar-card .pc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0c060, #b59a6a);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.pillar-card h4 { color: #1a1a2e; font-size: 1.15rem; margin: 0 0 10px; line-height: 1.35; }
.pillar-card p { color: #5a6470; font-size: 0.92rem; line-height: 1.6; margin-bottom: 14px; }
.pillar-card .pc-meta {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 12px;
}
.pillar-card .pc-cta {
    color: #b59a6a;
    font-weight: 700;
    font-size: 0.88rem;
}
.pillar-card .pc-cta i { margin-left: 4px; transition: transform 0.18s ease; }
.pillar-card:hover .pc-cta i { transform: translateX(4px); }

.article-row {
    display: block;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-left: 4px solid #b59a6a;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: box-shadow 0.18s ease;
}
.article-row:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.article-row .ar-tag {
    display: inline-block;
    background: #fdf8e6;
    color: #b59a6a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.article-row h4 { color: #1a1a2e; font-size: 1.02rem; margin: 0 0 6px; line-height: 1.4; }
.article-row p { color: #5a6470; font-size: 0.88rem; line-height: 1.55; margin-bottom: 8px; }
.article-row .ar-meta { font-size: 0.76rem; color: #888; }

/* ═══════════════════════════════════════════════════════
   BAR COUNCIL RULE 36 ACKNOWLEDGEMENT SPLASH
   ═══════════════════════════════════════════════════════ */
.bci-splash {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 14, 30, 0.86);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    animation: bciFadeIn 0.32s ease;
}
@keyframes bciFadeIn { from { opacity: 0; } to { opacity: 1; } }
.bci-splash[hidden] { display: none !important; }
.bci-splash-card {
    background: #fff;
    border-radius: 14px;
    max-width: 680px;
    width: 100%;
    padding: 36px 38px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border-top: 5px solid #b59a6a;
    color: #2a2a2a;
    line-height: 1.6;
    font-size: 0.92rem;
    max-height: 92vh;
    overflow-y: auto;
}
.bci-splash-logo {
    text-align: center;
    margin-bottom: 18px;
}
.bci-splash-logo img {
    height: 48px;
    width: auto;
}
.bci-splash-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 18px;
}
.bci-splash-card p { margin: 0 0 14px; }
.bci-splash-card ul {
    margin: 0 0 18px;
    padding-left: 22px;
}
.bci-splash-card ul li {
    margin-bottom: 8px;
}
.bci-splash-card a {
    color: #8a6d3b;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bci-splash-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 22px;
}
.bci-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.bci-btn-primary {
    background: linear-gradient(135deg, #b59a6a, #8a6d3b);
    color: #fff;
    box-shadow: 0 6px 18px rgba(138, 109, 59, 0.35);
}
.bci-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(138, 109, 59, 0.45);
    color: #fff;
}
.bci-btn-secondary {
    background: #f4f4f4;
    color: #555;
    border: 1px solid #ddd;
}
.bci-btn-secondary:hover {
    background: #ebebeb;
    color: #333;
}
.bci-splash-fine {
    text-align: center;
    font-size: 0.78rem !important;
    color: #888 !important;
    margin: 18px 0 0 !important;
}
.bci-splash-fine a { color: #888; }
@media (max-width: 575px) {
    .bci-splash-card {
        padding: 26px 22px 22px;
        font-size: 0.86rem;
    }
    .bci-splash-card h2 { font-size: 1.15rem; }
    .bci-btn { width: 100%; }
}
/* When splash is visible, prevent background scroll */
body.bci-splash-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR — Call · WhatsApp · Assessment
   Visible only below 992px (lg breakpoint).
   Three equal-width touch targets, ≥48px height.
   ═══════════════════════════════════════════════════════ */
.mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(20, 24, 44, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(240, 192, 96, 0.35);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-sticky-cta .ms-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    min-height: 56px;
    color: #fff;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.15s ease;
}
.mobile-sticky-cta .ms-cta:last-child { border-right: 0; }
.mobile-sticky-cta .ms-cta:active {
    transform: scale(0.96);
    background: rgba(240, 192, 96, 0.1);
}
.mobile-sticky-cta .ms-cta i {
    font-size: 1.15rem;
    color: #f0c060;
}
.mobile-sticky-cta .ms-call i { color: #4ade80; }
.mobile-sticky-cta .ms-wa i   { color: #25D366; }
.mobile-sticky-cta .ms-form i { color: #f0c060; }

@media (max-width: 991.98px) {
    .mobile-sticky-cta { display: grid; }
    /* Add bottom padding to body so the sticky bar doesn't cover content */
    body { padding-bottom: 60px; }
}
/* Hide on print */
@media print {
    .mobile-sticky-cta { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   QUICK ANSWER / TL;DR BOX — AI extraction sweet spot
   ═══════════════════════════════════════════════════════ */
.service-content > section.de-box[style*="f8f6f2"],
section.tldr-box {
    position: relative;
    padding: 26px 28px 24px !important;
    background: linear-gradient(135deg, #fdf8e6 0%, #f5ecd1 100%) !important;
    border: 1px solid #e6d3a3 !important;
    border-left: 5px solid #b59a6a !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 24px rgba(181, 154, 106, 0.08) !important;
}
.service-content > section.de-box[style*="f8f6f2"] .p-title,
section.tldr-box .p-title {
    color: #b59a6a !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.14em !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}
.service-content > section.de-box[style*="f8f6f2"] h2,
section.tldr-box h2 {
    color: #1a1a2e !important;
    margin-top: 6px;
}
.service-content > section.de-box[style*="f8f6f2"] .de-list.check li,
section.tldr-box .de-list.check li {
    line-height: 1.7;
    color: #3d3624;
}

/* ═══════════════════════════════════════════════════════
   LAST REVIEWED BADGE — E-E-A-T + AI freshness signal
   ═══════════════════════════════════════════════════════ */
.last-reviewed-badge {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #fdf8e6 0%, #f5ecd1 100%);
    border: 1px solid #e6d3a3;
    border-left: 4px solid #b59a6a;
    border-radius: 8px;
    padding: 12px 18px 12px 14px;
    margin: 18px 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #5b4a2c;
    position: relative;
    z-index: 1;
    clear: both;
}
.last-reviewed-badge .lr-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b59a6a, #8a6d3b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.last-reviewed-badge .lr-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}
.last-reviewed-badge .lr-label {
    font-weight: 600;
    color: #6c5226;
}
.last-reviewed-badge .lr-date {
    font-weight: 700;
    color: #1a1a2e;
}
.last-reviewed-badge .lr-by a {
    color: #8a6d3b;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(138,109,59,.4);
    text-underline-offset: 2px;
}
.last-reviewed-badge .lr-by a:hover {
    text-decoration-color: #8a6d3b;
}
.last-reviewed-badge .lr-role {
    color: #7a6438;
    font-size: 0.82rem;
    flex-basis: 100%;
}
@media (max-width: 575px) {
    .last-reviewed-badge {
        padding: 10px 14px;
        gap: 10px;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════
   BLOG POST — HARD CONTAINMENT
   Posts are user-generated HTML; some posts contain
   unclosed tags, position:absolute / fixed / sticky
   elements, oversized tables, or floated images that
   leak into siblings. These rules force the article body
   to stay inside its column no matter what HTML it ships.
   ═══════════════════════════════════════════════════════ */
.blog-post {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    contain: layout style;
}
.blog-post-content {
    position: relative;
    max-width: 100%;
    overflow: hidden;          /* contains floated / absolutely-positioned descendants */
    overflow-wrap: break-word;
    word-wrap: break-word;
    contain: layout style;
}
.blog-post-content::after {
    content: "";
    display: block;
    clear: both;
}

/* Force-static positioning on every descendant of the post body —
   prevents inline `position: absolute / fixed / sticky` styles in
   user-generated HTML from leaking out of the column. */
.blog-post-content,
.blog-post-content * {
    position: static !important;
}
/* Override the static rule for elements that legitimately need
   positioning (none today; explicit allowlist for the future). */
/* (intentionally empty allowlist) */

/* Block float: a single floated element inside the post body must
   not push surrounding paragraphs out of the column. Allow images
   to be left/right floated only if they fit; constrain them. */
.blog-post-content [style*="position:fixed"],
.blog-post-content [style*="position: fixed"],
.blog-post-content [style*="position:absolute"],
.blog-post-content [style*="position: absolute"],
.blog-post-content [style*="position:sticky"],
.blog-post-content [style*="position: sticky"] {
    position: static !important;
}

/* Tables, images, iframes, videos must fit the column */
.blog-post-content img,
.blog-post-content video,
.blog-post-content iframe,
.blog-post-content embed,
.blog-post-content object {
    max-width: 100% !important;
    height: auto;
    display: block;
    margin: 14px auto;
    box-sizing: border-box;
}
.blog-post-content table {
    max-width: 100% !important;
    width: auto;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}
.blog-post-content pre,
.blog-post-content code {
    max-width: 100%;
    overflow-x: auto;
    word-break: break-word;
    white-space: pre-wrap;
}

/* Author-box: if the post body embeds one, hide it. Page-level
   author-box at the bottom of blog/single.php is the canonical one. */
.blog-post-content > .author-box,
.blog-post-content > * > .author-box,
.blog-post-content > * > * > .author-box,
.blog-post-content > * > * > * > .author-box,
.blog-post-content .author-bio,
.blog-post-content .author-card,
.blog-post-content .post-author {
    display: none !important;
}

/* Page-level author-box (the one rendered at the bottom of the
   article by blog/single.php) — re-enable and style it cleanly. */
.blog-post > .author-box {
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    float: none !important;
    margin: 30px 0 !important;
    background: #fafaf7 !important;
    border: 1px solid #e6d3a3 !important;
    border-left: 4px solid #b59a6a !important;
    border-radius: 10px !important;
    padding: 24px 26px !important;
    width: 100%;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════
   WOW.js / ANIMATE.css SAFETY RULES
   Ensures content never stays permanently invisible if
   the animation library is slow/blocked. Once an element
   has been animated by WOW, it's guaranteed visible. The
   JS failsafe in accorg.js handles the edge case where
   WOW never fires.
   ═══════════════════════════════════════════════════════ */
.wow.animated,
.wow.wow-shown {
    visibility: visible !important;
    opacity: 1 !important;
}
/* No-JS users must always see content */
html.no-js .wow {
    visibility: visible !important;
    animation: none !important;
    opacity: 1 !important;
}
/* Reduced-motion users: skip animation entirely, content visible */
@media (prefers-reduced-motion: reduce) {
    .wow {
        visibility: visible !important;
        animation: none !important;
        opacity: 1 !important;
    }
}
