/* ============================================================
   Digiladder NextGen Technologies — main stylesheet
   Mobile-first. Light theme, navy typography, brand accents.
   Brand palette extracted from the official logo:
   navy #002060 · teal-green #007849 · red-orange #E04020 · gold #E0A000
   ============================================================ */

:root {
    --navy: #002060;
    --navy-deep: #001A4A;
    --navy-soft: #11346B;
    --green: #007849;
    --green-dark: #005C38;
    --green-bright: #1E9E6B;
    --red: #E04020;
    --red-dark: #B32E14;
    --yellow: #E0A000;
    --gold-deep: #8A6A10;

    --ink: #0f172a;
    --body: #2f3a4d;
    --muted: #5d6b81;

    --bg: #f6f8f7;
    --surface: #ffffff;
    --border: #dde5ea;

    /* background assets */
    --bg-blueprint: url('/assets/images/bg/blueprint.svg');
    --bg-dots-light: url('/assets/images/bg/dots-light.svg');
    --bg-aurora:
        radial-gradient(1100px 540px at 82% -12%, rgba(30, 158, 107, .14), transparent 62%),
        radial-gradient(900px 500px at -8% 112%, rgba(224, 160, 0, .12), transparent 58%),
        radial-gradient(700px 380px at 55% 130%, rgba(224, 64, 32, .07), transparent 55%);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-title: 'Outfit', 'Inter', sans-serif;

    --container: 1160px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .07);
    --shadow-lg: 0 20px 45px rgba(0, 32, 96, .10);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-title);
    color: var(--navy);
    line-height: 1.18;
    font-weight: 700;
    text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 4rem; }
.section-tight { padding-block: 3rem; }
.bg-white { background: var(--surface); }
.bg-navy { background:  var(--navy); background-repeat: no-repeat; background-size: cover; color: #cbd5e1; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.narrow { max-width: 760px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1.2; letter-spacing: .01em;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 55%, var(--green-dark) 100%);
    color: #fff; box-shadow: 0 8px 22px rgba(0, 121, 72, .30);
}
.btn-primary:hover {
    background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
    box-shadow: 0 12px 26px rgba(0, 121, 72, .34); color: #fff;
}
.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(0, 32, 96, .35); }
.btn-secondary:hover { border-color: var(--navy); background: rgba(0, 32, 96, .05); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f1f5f9; color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { padding: .6rem 1.2rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
    display: inline-block; font-size: .75rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--green);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--yellow); vertical-align: middle; margin-right: .6rem; }
.bg-navy .eyebrow { color: var(--yellow); }
.chip {
    display: inline-block; padding: .35rem .85rem; border-radius: 999px;
    background: rgba(0, 121, 72, .1); color: var(--green-dark);
    font-size: .8rem; font-weight: 600; border: 1px solid rgba(0, 121, 72, .2);
}

/* ---------- Section headings ---------- */
.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .9rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background:
        linear-gradient(90deg, var(--green-bright) 0%, var(--yellow) 50%, var(--red) 100%) no-repeat top / 100% 3px,
        rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-footer .brand-logo { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-title); font-size: 1.05rem; letter-spacing: .06em; }
.brand-text small { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li > a, .nav-dropdown-toggle {
    display: flex; align-items: center; gap: .35rem;
    padding: .55rem .8rem; border-radius: 8px;
    font-size: .92rem; font-weight: 500; color: var(--body);
    background: none; border: 0;
}
.nav-list > li > a:hover, .nav-dropdown-toggle:hover, .nav-list > li.is-active > a { color: var(--navy); background: rgba(0, 32, 96, .06); }
.nav-list > li.is-active > a { font-weight: 600; }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: .5rem;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .2s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .9rem; color: var(--body); }
.dropdown a:hover { background: rgba(0, 121, 72, .08); color: var(--green-dark); }
.nav-cta { margin-left: .75rem; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .6rem; background: none; border: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel (opened via #nav-toggle) */
.main-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: .4rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: .9rem 1.25rem 1.4rem;
    max-height: calc(100vh - 68px); overflow-y: auto;
}
.main-nav.is-open .nav-list { flex-direction: column; align-items: stretch; gap: .1rem; }
.main-nav.is-open .nav-list > li > a,
.main-nav.is-open .nav-dropdown-toggle {
    width: 100%; justify-content: space-between; padding: .8rem .7rem; font-size: 1rem;
}
.main-nav.is-open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: var(--bg);
    margin-top: .25rem; padding: .35rem; display: none; min-width: 0;
}
.main-nav.is-open .has-dropdown.open .dropdown { display: block; }
.main-nav.is-open .nav-cta { margin: .8rem 0 0; }
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) & Slider ---------- */
/* ============================================================
   HERO — engineering precision
   One accent (brand green) on navy ink. Flat surfaces, monoline
   icons, no gradient text. Slider hooks (.hero-slide/.hero-tab/
   .hero-dot/.hero-prev/.hero-next) are unchanged.
   ============================================================ */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    background-repeat: no-repeat; background-size: cover;
    padding-block: 2rem 2.5rem;
    --hero-accent: var(--green);
    --hero-accent-deep: var(--green-dark);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0, 32, 96, .045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 32, 96, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 78% at 50% 26%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 78% at 50% 26%, #000 35%, transparent 100%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(720px 360px at 74% 14%, rgba(0, 120, 73, .07), transparent 68%);
}
.hero .container { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: .5rem; }

/* ---------- Quick switcher: segmented control ---------- */
.hero-tabs-container { margin-bottom: 1.75rem; position: relative; z-index: 5; display: flex; justify-content: center; }
.hero-tabs-nav {
    display: flex; align-items: stretch; gap: .25rem;
    overflow-x: auto; padding: .3rem; scrollbar-width: none;
    border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0, 32, 96, .04), 0 14px 30px -24px rgba(0, 32, 96, .4);
    max-width: 100%;
}
.hero-tabs-nav::-webkit-scrollbar { display: none; }
.hero-tab {
    display: flex; align-items: center; gap: .55rem;
    min-height: 44px; padding: .5rem .95rem; border-radius: 10px;
    background: transparent; border: 1px solid transparent;
    color: var(--body); font-size: .88rem; cursor: pointer;
    text-align: left; white-space: nowrap; user-select: none;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.hero-tab:hover { background: rgba(0, 32, 96, .04); color: var(--navy); }
.hero-tab:focus-visible { outline: 2px solid var(--hero-accent); outline-offset: 2px; }
.hero-tab .tab-icon {
    display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
    border-radius: 8px; background: rgba(0, 32, 96, .05); color: var(--navy);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.hero-tab .tab-icon svg { width: 17px; height: 17px; }
.hero-tab .tab-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-tab .tab-text strong { font-size: .84rem; font-weight: 650; letter-spacing: -.005em; }
.hero-tab .tab-text small { font-size: .75rem; color: var(--muted); font-weight: 400; transition: color .2s; }
.hero-tab.active { background: #f2f8f5; border-color: rgba(0, 121, 72, .28); }
.hero-tab.active .tab-icon { background: var(--hero-accent); color: #fff; }
.hero-tab.active .tab-text small { color: var(--hero-accent-deep); }

/* ---------- Slides ---------- */
.hero-slides { position: relative; width: 100%; min-height: 500px; }
.hero-slide {
    display: none; opacity: 0; position: absolute; top: 0; left: 0; width: 100%;
    transform: translateY(10px); pointer-events: none;
    transition: opacity .38s var(--ease), transform .38s var(--ease);
}
.hero-slide.active { display: block; opacity: 1; position: relative; transform: none; pointer-events: auto; z-index: 2; }
.hero-slide .grad { background: none !important; background-clip: border-box !important; -webkit-background-clip: border-box !important; color: var(--hero-accent) !important; -webkit-text-fill-color: currentColor !important; }

/* ---------- Copy ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; position: relative; z-index: 2; }
.hero-content { position: relative; z-index: 2; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.hero-kicker .chip {
    display: inline-flex; align-items: center; padding: .3rem .6rem; border-radius: 6px;
    background: var(--surface); border: 1px solid var(--border); color: var(--body);
    font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.hero-kicker .chip-service, .hero-kicker .chip-product {
    background: rgba(0, 121, 72, .09) !important; border-color: rgba(0, 121, 72, .26) !important; color: var(--green-dark) !important;
}
.hero h1, .hero h2 {
    font-family: var(--font-title); color: var(--navy);
    font-size: clamp(2rem, 4.3vw, 3.1rem); line-height: 1.09; letter-spacing: -.022em;
    margin-bottom: .95rem; text-wrap: balance;
}
.hero-sub { font-size: 1.04rem; line-height: 1.65; color: var(--body); max-width: 52ch; margin-bottom: 1.6rem; }
.hero-feature-tags { display: grid; gap: .5rem; margin-bottom: 1.7rem; max-width: 48ch; }
.hero-feature-tags .f-tag { display: flex; align-items: flex-start; gap: .55rem; font-size: .93rem; line-height: 1.45; color: var(--body); }
.hero-feature-tags .f-tag svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .18rem; color: var(--hero-accent) !important; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 0; }
.hero-actions .btn:focus-visible { outline: 2px solid var(--hero-accent); outline-offset: 2px; }

/* ---------- Trust strip: company facts, no fabricated metrics ---------- */
.hero-trust {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.15rem;
    margin-top: 1.6rem; padding-top: 1.15rem; border-top: 1px solid var(--border);
}
.hero-trust-item { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.hero-trust-item svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--hero-accent); }
.hero-trust-item strong { color: var(--navy); font-weight: 650; }

/* ---------- Visual ---------- */
.hero-media { position: relative; }
.hero-visual-card { position: relative; }
.visual-glow {
    position: absolute; inset: -14% -8%; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(0, 120, 73, .16), transparent 72%);
    filter: blur(34px);
}
.visual-frame {
    position: relative; z-index: 1; border-radius: 16px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: 0 28px 60px -34px rgba(0, 32, 96, .4), 0 2px 6px rgba(0, 32, 96, .05);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.visual-frame:hover { transform: translateY(-3px); box-shadow: 0 34px 70px -34px rgba(0, 32, 96, .44); }
.visual-frame:focus-within { outline: 2px solid var(--hero-accent); outline-offset: 3px; }
.hero-img { display: block; width: 100%; height: auto; }
.hero-frame-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem;
    font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
    color: #e8eef6; background: linear-gradient(180deg, rgba(0, 18, 38, 0) 0%, rgba(0, 18, 38, .8) 62%);
}
.hero-frame-caption svg { width: 14px; height: 14px; flex-shrink: 0; color: #6ee7b7; }

/* ---------- Controls ---------- */
.hero-controls-wrap { margin-top: 2.25rem; position: relative; z-index: 5; }
.hero-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.hero-nav-btn {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
    color: var(--navy); cursor: pointer;
    transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.hero-nav-btn:hover { border-color: rgba(0, 121, 72, .42); color: var(--green-dark); transform: translateY(-1px); }
.hero-nav-btn:focus-visible { outline: 2px solid var(--hero-accent); outline-offset: 2px; }
.hero-dots { display: flex; align-items: center; gap: .15rem; }
.hero-dot {
    width: 24px; height: 24px; padding: 0; border: 0; background: transparent;
    display: grid; place-items: center; border-radius: 6px; cursor: pointer;
}
.hero-dot::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(0, 32, 96, .24); transition: width .25s var(--ease), background .25s var(--ease); }
.hero-dot:hover::before { background: rgba(0, 32, 96, .46); }
.hero-dot.active::before { width: 22px; background: var(--hero-accent); }
.hero-dot:focus-visible { outline: 2px solid var(--hero-accent); outline-offset: 1px; }

/* ---------- Motion & viewports ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .visual-frame, .hero-nav-btn, .hero-dot::before { transition: none !important; }
    .hero-slide { transform: none; }
    .visual-frame:hover { transform: none; }
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.06fr .94fr; gap: 3rem; }
    .hero-slides { min-height: 470px; }
}
@media (min-width: 1280px) {
    .hero-slides { min-height: 500px; }
}

/* ---------- Auto-rotation pause control ---------- */
.hero-pause .icon-play { display: none; }
.hero-pause.is-paused .icon-pause { display: none; }
.hero-pause.is-paused .icon-play { display: block; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem 1.25rem; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card strong { display: block; font-family: var(--font-title); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--navy); line-height: 1; margin-bottom: .45rem; }
.stat-card strong em { font-style: normal; color: var(--green); }
.stat-card span { font-size: .85rem; color: var(--muted); }

/* ---------- Touch targets ---------- */
/* Footer and card links are standalone controls, so they must clear the 24x24 CSS px
   minimum target size (WCAG 2.5.8 AA). Inline links inside sentences are exempt and untouched. */
.footer-col ul li a, .footer-legal ul li a { display: inline-flex; align-items: center; min-height: 24px; padding-block: 3px; }
.blog-card h3 a, .post-card h3 a { display: inline-block; min-height: 24px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0, 121, 72, .35); }
.card h3, .card h4 { font-size: 1.18rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-weight: 600; font-size: .9rem; color: var(--green-dark); }
.card-link:hover { gap: .6rem; }

.icon-tile {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 1.1rem;
    background: rgba(0, 32, 96, .07); color: var(--navy);
}
.icon-tile.green { background: rgba(0, 121, 72, .12); color: var(--green-dark); }
.icon-tile.yellow { background: rgba(224, 160, 0, .16); color: var(--gold-deep); }
.icon-tile.red { background: rgba(224, 64, 32, .12); color: var(--red); }
.icon-tile svg { width: 22px; height: 22px; }

/* Service cards with index numbers */
.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-card .num {
    position: absolute; top: 1rem; right: 1.4rem;
    font-family: var(--font-title); font-size: 2.6rem; font-weight: 700;
    color: rgba(0, 32, 96, .08); line-height: 1;
}
.service-card ul { margin-top: 1.1rem; display: grid; gap: .45rem; }
.service-card ul li { position: relative; padding-left: 1.35rem; font-size: .9rem; color: var(--body); }
.service-card ul li::before {
    content: ''; position: absolute; left: 0; top: .5em;
    width: 7px; height: 7px; border-radius: 2px; background: var(--green);
}
.service-card .card-link { margin-top: auto; padding-top: 1.4rem; }

/* ---------- Product panels ---------- */
.product-spec-pill {
    display: inline-flex; align-items: center; gap: .4rem;
}
.product-spec-pill svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .9; }

.product-panel { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.product-panel + .product-panel { margin-top: 1.5rem; }
.product-panel-inner { display: grid; grid-template-columns: 1fr; }
.product-copy { padding: 2.25rem 1.75rem; }
.product-copy .chip { margin-bottom: 1rem; }
.product-copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .8rem; }
.product-copy p { margin-bottom: 1.4rem; }
.feature-list { display: grid; grid-template-columns: 1fr; gap: .55rem; margin-bottom: 1.75rem; }
.feature-list li { position: relative; padding-left: 1.7rem; font-size: .93rem; }
.feature-list li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    color: var(--green); font-weight: 700;
}
.product-panel.dark {
    background:
        
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #0b2f6d 100%);
    background-repeat: no-repeat; background-size: cover;
    border: 1px solid rgba(255, 255, 255, .06);
    color: #cbd5e1;
}
.product-panel.dark h3, .product-panel.dark h4 { color: #fff; }
.product-panel.dark .chip { background: rgba(255, 255, 255, .1); color: #a7f3d0; border-color: rgba(255, 255, 255, .2); }
.product-panel.dark .feature-list li::before { color: var(--yellow); }
.product-panel.light { background: var(--surface); border: 1px solid var(--border); }
.product-visual {
    padding: 2.25rem 1.75rem; display: grid; place-items: center; min-height: 240px;
    background: rgba(0, 32, 96, .04);
}
.product-panel.dark .product-visual { background: rgba(255, 255, 255, .04); border-left: 1px solid rgba(255, 255, 255, .08); }

/* Mock UI window used inside product visuals */
.mock-window { width: 100%; max-width: 380px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: .75rem; }
.mock-window.dark { background: var(--navy-deep); color: #cbd5e1; }
.mock-bar { display: flex; gap: .35rem; padding: .6rem .8rem; background: rgba(15, 23, 42, .06); }
.mock-window.dark .mock-bar { background: rgba(255, 255, 255, .07); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; }
.mock-bar i:first-child { background: var(--red); }
.mock-bar i:nth-child(2) { background: var(--yellow); }
.mock-bar i:nth-child(3) { background: var(--green); }
.mock-body { padding: .9rem; display: grid; gap: .55rem; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 8px; background: rgba(15, 23, 42, .04); }
.mock-window.dark .mock-row { background: rgba(255, 255, 255, .06); }
.mock-row b { font-weight: 600; color: var(--navy); }
.mock-window.dark .mock-row b { color: #fff; }
.mock-tag { font-size: .75rem; font-weight: 700; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 999px; background: rgba(0, 121, 72, .15); color: var(--green-dark); }
.mock-tag.warn { background: rgba(224, 160, 0, .2); color: #96650f; }
.mock-window.dark .mock-tag { background: rgba(0, 121, 72, .25); color: #a7f3d0; }

/* ---------- Industries ---------- */
.industry-card { display: flex; flex-direction: column; }
.industry-card .card-link { margin-top: auto; padding-top: 1.25rem; }

/* ---------- Process ---------- */
.process-list { display: grid; gap: 1rem; }
.process-step {
    display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.35rem 1.5rem;
}
.process-step .step-num {
    font-family: var(--font-title); font-weight: 700; font-size: 1.05rem;
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: var(--navy); color: #fff;
}
.process-step:nth-child(even) .step-num { background: var(--green); }
.process-step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.process-step p { font-size: .92rem; color: var(--muted); }

/* ---------- Portfolio ---------- */
.case-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-head { padding: 1.5rem 1.6rem 1.1rem; }
.case-head .chip { margin-bottom: .8rem; }
.case-head h3 { font-size: 1.12rem; }
.case-meta { display: grid; gap: .65rem; padding: 0 1.6rem 1.4rem; }
.case-meta div { display: grid; grid-template-columns: 92px 1fr; gap: .6rem; font-size: .87rem; }
.case-meta dt, .case-meta .k { font-weight: 600; color: var(--navy); }
.case-meta .v { color: var(--muted); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .post-body { padding: 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card .chip { align-self: flex-start; margin-bottom: .9rem; }
.post-card h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.post-card p { font-size: .92rem; }
.post-card .post-foot { margin-top: auto; padding-top: 1.2rem; font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: .75rem; }
.tag-link { color: var(--green-dark); font-weight: 600; }

/* Article prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: 1.2rem; margin: 1.9rem 0 .7rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.prose blockquote {
    margin: 1.75rem 0; padding: 1.1rem 1.4rem;
    border-left: 4px solid var(--green); background: rgba(0, 121, 72, .06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--navy);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background:
        radial-gradient(700px 320px at 90% 0%, rgba(0, 121, 72, .12), transparent 60%),
        radial-gradient(560px 260px at -6% 100%, rgba(224, 160, 0, .10), transparent 55%),
        
        linear-gradient(180deg, #ffffff, var(--bg));
    background-repeat: no-repeat; background-size: cover;
    border-bottom: 1px solid var(--border);
    padding-block: 2.75rem 3rem;
}
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: -.015em; margin-bottom: .9rem; }
.page-hero .lede { font-size: clamp(1rem, 2vw, 1.12rem); color: var(--muted); max-width: 720px; }
.page-hero .hero-actions { margin-top: 1.75rem; margin-bottom: 0; }

.breadcrumbs { margin-bottom: 1.1rem; font-size: .82rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li::after { content: '/'; margin-left: .4rem; color: #cbd5e1; }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green-dark); }

/* ---------- Two-column content ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.split-wide { gap: 3rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        
        linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 55%, #0c2f6e 100%);
    background-repeat: no-repeat; background-size: cover;
    border-radius: 22px; padding: 2.75rem 1.75rem; text-align: center; color: #cbd5e1;
    position: relative; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 32, 96, .22);
}
.cta-band::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(closest-side at 82% 0%, rgba(30, 158, 107, .26), transparent 70%),
        radial-gradient(closest-side at 8% 100%, rgba(224, 160, 0, .16), transparent 70%);
}
.cta-band::after {
    content: ''; position: absolute; inset: auto -20% -60% 55%; height: 260px;
    background: radial-gradient(closest-side, rgba(0, 121, 72, .35), transparent);
    pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .8rem; position: relative; }
.cta-band p { max-width: 560px; margin-inline: auto; margin-bottom: 1.9rem; position: relative; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; position: relative; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); background: #fff; font-size: .95rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 121, 72, .15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .error-msg { font-size: .8rem; color: var(--red); min-height: 1em; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--red); }
.form-span-2 { grid-column: 1 / -1; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 1.25rem; }
.form-alert.ok { background: rgba(0, 121, 72, .1); color: var(--green-dark); border: 1px solid rgba(0, 121, 72, .3); }
.form-alert.err { background: rgba(224, 64, 32, .08); color: #a63a28; border: 1px solid rgba(224, 64, 32, .3); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .85rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.25rem; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 1.05rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--green); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding-bottom: 1.1rem; color: var(--muted); font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer {
    background:
        
        linear-gradient(180deg, var(--navy-deep) 0%, #001226 100%);
    background-repeat: no-repeat; background-size: cover;
    color: #94a3b8; margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; padding-block: 3.25rem 2.5rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #94a3b8; }
.footer-tagline { margin-top: 1.1rem; font-family: var(--font-title); font-size: 1.05rem; color: #e2e8f0; line-height: 1.5; }
.footer-social-links { display: flex; align-items: center; gap: .65rem; margin-top: 1.25rem; flex-wrap: wrap; }
.footer-social-links a {
    width: 36px; height: 36px; border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #cbd5e1; border: 1px solid rgba(255, 255, 255, .12);
    transition: all .25s ease;
}
.footer-social-links a:hover {
    background: var(--green-bright, #1E9E6B); color: #fff; border-color: var(--green-bright, #1E9E6B);
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30, 158, 107, .35);
}
.footer-social-links a svg { width: 17px; height: 17px; display: block; }
.footer-col h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1.05rem; font-weight: 600; font-family: var(--font-body); }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: #94a3b8; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-col li { font-size: .92rem; }
.footer-legal {
    display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.4rem; font-size: .84rem;
}
.footer-legal ul { display: flex; gap: 1.25rem; }
.footer-legal a { color: #94a3b8; }
.footer-legal a:hover { color: #fff; }

/* ---------- Misc floats & Micro-Animations ---------- */
.whatsapp-float {
    position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
    transition: transform .25s var(--ease), box-shadow .25s ease;
    animation: waPulse 3.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .55); }

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .4); }
    50% { box-shadow: 0 10px 28px rgba(37, 211, 102, .5), 0 0 0 8px rgba(37, 211, 102, 0); }
}

/* Primary Button Light Shimmer Sweep */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -80%;
    width: 45%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: rotate(25deg);
    transition: left 0.75s ease;
    pointer-events: none;
}
.btn-primary:hover::after {
    left: 140%;
}

/* Smooth Card Hover Micro-Elevations */
.card, .service-card, .product-card, .portfolio-card, .blog-card, .industry-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover, .service-card:hover, .product-card:hover, .portfolio-card:hover, .blog-card:hover, .industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 32, 96, 0.10);
}

/* ---------- Lightweight Hardware-Accelerated Reveal Animation Suite ---------- */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-stagger {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-up { transform: translateY(28px); }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-scale { transform: scale(0.95); }

.reveal.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-stagger.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Progressive Stagger Cascade */
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.34s; }

/* Status Pulse Badge Indicator */
.pulse-badge-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-bright);
    margin-right: 6px;
    position: relative;
    vertical-align: middle;
}
.pulse-badge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid var(--green-bright);
    animation: badgePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes badgePing {
    0% { transform: scale(0.8); opacity: 1; }
    80%, 100% { transform: scale(2.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-stagger {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .whatsapp-float, .btn-primary::after, .pulse-badge-dot::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================================
   Tablet ≥768px
   ============================================================ */
@media (min-width: 768px) {
    .section { padding-block: 5rem; }
    .container { padding-inline: 2rem; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-list { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .process-list { grid-template-columns: repeat(2, 1fr); }
    .product-copy { padding: 2.75rem; }
    .product-visual { padding: 2.75rem; }
    .cta-band { padding: 3.5rem 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Desktop ≥1024px
   ============================================================ */
@media (min-width: 1024px) {
    .main-nav, .main-nav.is-open {
        display: flex; flex-direction: row; align-items: center;
        position: static; max-height: none; overflow: visible;
        padding: 0; border: 0; box-shadow: none; background: transparent;
    }
    .main-nav.is-open .nav-list { flex-direction: row; align-items: center; gap: .25rem; }
    .main-nav.is-open .nav-list > li > a,
    .main-nav.is-open .nav-dropdown-toggle { width: auto; padding: .55rem .8rem; font-size: .92rem; }
    .main-nav.is-open .dropdown {
        position: absolute; background: #fff; border: 1px solid var(--border);
        box-shadow: var(--shadow-lg); margin-top: 0; padding: .5rem;
        min-width: 250px; display: block; visibility: hidden; opacity: 0;
        transform: translateY(8px); transition: all .2s var(--ease);
    }
    .main-nav.is-open .has-dropdown:hover .dropdown,
    .main-nav.is-open .has-dropdown.open .dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
    .main-nav.is-open .nav-cta { margin-left: .75rem; }
    body.nav-open { overflow: auto; }
    .nav-toggle { display: none; }

    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .split { grid-template-columns: 1fr 1fr; }
    .split-6040 { grid-template-columns: 1.2fr 1fr; }
    .process-list { grid-template-columns: repeat(3, 1fr); }

    .product-panel-inner { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
    .product-panel.reverse .product-copy { order: 2; }
    .product-panel.reverse .product-visual { order: 1; border-left: 0; border-right: 1px solid rgba(0, 32, 96, .08); }
    .product-panel.dark.reverse .product-visual { border-right: 1px solid rgba(255, 255, 255, .08); }

    .hero { padding-block: 3.25rem 3.5rem; }
    .hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 3rem; align-items: center; }
    .hero-slides { min-height: 470px; }
    .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
    .section-head { margin-bottom: 3.25rem; }
}

/* ============================================================
   Wide ≥1280px
   ============================================================ */
@media (min-width: 1280px) {
    .container { padding-inline: 1rem; }
}

/* ============================================================
   Proprietary Products Section Redesign
   ============================================================ */
.products-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.products-duo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 992px) {
    .products-duo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.25rem;
    }
}

.product-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -10px rgba(0, 20, 60, 0.15), 0 20px 40px -15px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -10px rgba(0, 25, 75, 0.22), 0 30px 60px -20px rgba(0, 0, 0, 0.35);
}

/* CADOPTIX AI Theme */
.product-card.cadoptix-theme {
    background: linear-gradient(165deg, #071731 0%, #0b2348 55%, #06162d 100%);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: #cbd5e1;
}

.product-card.cadoptix-theme:hover {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 20px 50px -10px rgba(14, 165, 233, 0.3), 0 30px 60px -15px rgba(0, 0, 0, 0.45);
}

/* DocuVantage Theme */
.product-card.docuvantage-theme {
    background: linear-gradient(165deg, #071f2c 0%, #0a2d3c 55%, #061a25 100%);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #cbd5e1;
}

.product-card.docuvantage-theme:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.25), 0 30px 60px -15px rgba(0, 0, 0, 0.45);
}

/* Mockup Header Window */
.product-card-mockup {
    padding: 1.5rem 1.5rem 0;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-mock-window {
    background: #0b1526;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.product-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: rgba(15, 23, 42, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.5rem;
}

.mock-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green { background: #10b981; }

.mock-title {
    font-size: .75rem;
    font-weight: 600;
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-badge {
    font-size: .75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    white-space: nowrap;
}

.mock-badge.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.product-mock-viewport {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #020617;
}

.product-mock-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.product-card:hover .product-mock-img {
    transform: scale(1.04);
}

.product-mock-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.75) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0.85rem 1rem;
    pointer-events: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #e0f2fe;
    font-size: .75rem;
    font-weight: 600;
}

.product-status-tag.emerald {
    border-color: rgba(16, 185, 129, 0.4);
    color: #d1fae5;
}

.status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: status-pulse 2s infinite;
}

.status-indicator.emerald {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.2); }
}

.product-telemetry-tag {
    font-size: .75rem;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Body */
.product-card-body {
    padding: 2rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.product-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.85rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-card.cadoptix-theme .product-badge-chip {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.product-card.docuvantage-theme .product-badge-chip {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-category-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
}

.product-card-title {
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 0.85rem;
}

.product-card-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0 0 1.5rem;
}

/* Feature List — Bulletproof single-column flex list that NEVER squishes or awkwardly wraps words */
.product-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.product-feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.product-card.cadoptix-theme .product-feature-icon {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.product-card.docuvantage-theme .product-feature-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-feature-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.5;
}

/* Tech Spec Row */
.product-spec-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-spec-pill {
    font-size: .75rem;
    font-weight: 600;
    padding: 0.32rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Actions Footer */
.product-card-footer {
    margin-top: auto;
    display: flex;
    gap: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
}

.product-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-grow: 1;
}

.product-card.cadoptix-theme .product-btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.product-card.cadoptix-theme .product-btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
    transform: translateY(-2px);
}

.product-card.docuvantage-theme .product-btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.product-card.docuvantage-theme .product-btn-primary:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.product-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.15rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.25s ease;
}

.product-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 640px) {
    .product-card-mockup {
        padding: 1rem 1rem 0;
    }
    .product-mock-viewport {
        height: 180px;
    }
    .product-card-body {
        padding: 1.5rem;
    }
    .product-card-footer {
        flex-direction: column;
    }
    .product-btn-primary, .product-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   About Us Page Professional Styles
   ============================================================ */
.about-hero-badge-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.about-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 32, 96, 0.05);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
}

.about-trust-chip svg {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}

/* Image Showcase Card */
.about-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(0, 32, 96, 0.16), 0 4px 14px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(221, 229, 234, 0.9);
    background: #ffffff;
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover img {
    transform: scale(1.03);
}

.about-floating-stat {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    padding: 0.95rem 1.35rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-floating-stat strong {
    font-family: var(--font-title);
    font-size: 1.7rem;
    color: #a7f3d0;
    line-height: 1;
}

.about-floating-stat span {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.3;
    display: block;
}

/* Story Highlights */
.story-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

@media (min-width: 640px) {
    .story-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

.story-highlight-item {
    padding: 1.1rem 1.2rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.story-highlight-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--navy);
}

.story-highlight-item p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.85rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 120, 73, 0.4);
}

.value-card .value-num {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.value-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.65rem;
    color: var(--navy);
}

.value-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}

/* Dual Ecosystem Cards */
.ecosystem-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
}

.ecosystem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 32, 96, 0.2);
}

.ecosystem-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.ecosystem-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.ecosystem-card p {
    font-size: 0.94rem;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.ecosystem-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ecosystem-links li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.ecosystem-links li .eco-bullet {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: rgba(0, 120, 73, 0.12);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.ecosystem-links li .eco-bullet svg {
    width: 11px;
    height: 11px;
    stroke-width: 2.5;
}

.ecosystem-links a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ecosystem-links a:hover {
    color: var(--green-dark);
}

.ecosystem-card .card-cta {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

/* Mission & Vision Panels */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.statement-card {
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.statement-card.vision-card {
    background: linear-gradient(145deg, #071731 0%, #0a244a 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #cbd5e1;
}

.statement-card.mission-card {
    background: linear-gradient(145deg, #07221d 0%, #09332a 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #cbd5e1;
}

.statement-card h3 {
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 0.85rem;
}

.statement-card p {
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
    color: #e2e8f0;
}

.statement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.8rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.statement-card.vision-card .statement-badge {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.statement-card.mission-card .statement-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Process Steps Modern Styling */
.process-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .process-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-card-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem 1.4rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.process-card-item .step-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(0, 120, 73, 0.1);
    color: var(--green);
    margin-bottom: 1.1rem;
}

.process-card-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.process-card-item p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

/* ============================================================
   Contact Page Professional Redesign
   ============================================================ */
.contact-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.contact-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 32, 96, 0.05);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-stat-chip svg {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-form-card .card-head-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.45rem;
}

.contact-form-card .card-head-desc {
    font-size: 0.94rem;
    color: var(--muted);
    margin-bottom: 1.75rem;
    line-height: 1.55;
}

/* Service Pill Selector */
.service-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.service-pill-label {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-pill-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-pill-radio:checked + .service-pill-label {
    background: rgba(0, 120, 73, 0.1);
    border-color: var(--green);
    color: var(--green-dark);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 120, 73, 0.15);
}

.service-pill-label:hover {
    border-color: var(--green);
}

/* WhatsApp Highlight Card */
.contact-whatsapp-box {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    border-radius: 18px;
    padding: 1.6rem;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.25);
    border: 1px solid rgba(52, 211, 153, 0.3);
    margin-bottom: 1.35rem;
    position: relative;
    overflow: hidden;
}

.contact-whatsapp-box .wa-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a7f3d0;
    margin-bottom: 0.65rem;
}

.contact-whatsapp-box h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.45rem;
}

.contact-whatsapp-box p {
    font-size: 0.9rem;
    color: #d1fae5;
    margin-bottom: 1.1rem;
    line-height: 1.5;
}

.btn-whatsapp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: all 0.22s ease;
    width: 100%;
}

.btn-whatsapp-action:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

/* Contact Info Hub Card */
.contact-hub-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.35rem;
}

.contact-hub-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--border);
}

.contact-hub-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.contact-hub-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 32, 96, 0.06);
    color: var(--navy);
}

.contact-hub-icon.green {
    background: rgba(0, 120, 73, 0.1);
    color: var(--green);
}

.contact-hub-icon.yellow {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
}

.contact-hub-body h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.contact-hub-body p, .contact-hub-body a {
    font-size: 0.95rem;
    color: var(--navy);
    line-height: 1.45;
    margin: 0;
    font-weight: 600;
}

.contact-hub-body a:hover {
    color: var(--green-dark);
}

.contact-hub-meta {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 0.2rem;
}

/* Process Timeline in Sidebar */
.contact-next-steps {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.6rem;
}

.contact-next-steps h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.next-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.next-step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--body);
}

.next-step-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--navy);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* FAQ Accordion Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 32, 96, 0.03);
}

.faq-item[open] {
    border-color: rgba(0, 120, 73, 0.35);
    box-shadow: 0 6px 18px rgba(0, 120, 73, 0.08);
}

.faq-item summary {
    padding: 1.15rem 1.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.2s ease;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.faq-item summary:hover {
    color: var(--green);
}

.faq-item summary:hover::after {
    border-color: var(--green);
}

.faq-item[open] summary {
    color: var(--green-dark);
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
    border-color: var(--green);
}

.faq-answer {
    padding: 0 1.4rem 1.3rem 1.4rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
    padding-top: 0.85rem;
}

@media (max-width: 640px) {
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }
    .contact-stat-chip {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
    .faq-item summary {
        font-size: 0.98rem;
        padding: 1rem 1.15rem;
    }
}

/* ============================================================
   Redesigned Blog Index & Article System
   ============================================================ */

/* Reading progress bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--green) 0%, var(--navy) 60%, var(--yellow) 100%);
    z-index: 9999;
    transition: width 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog Hero & Controls */
.blog-hero {
    padding-bottom: 2.75rem;
}

.blog-controls-wrap {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-search-box {
    position: relative;
    max-width: 580px;
    width: 100%;
}

.blog-search-box svg {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.blog-search-box input {
    width: 100%;
    padding: 0.85rem 2.8rem 0.85rem 3rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: #ffffff;
    font-size: 0.95rem;
    color: var(--navy);
    box-shadow: 0 2px 10px rgba(0, 32, 96, 0.05);
    transition: all 0.2s ease;
}

.blog-search-box input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 4px 18px rgba(0, 120, 73, 0.15);
}

.search-clear-btn {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 32, 96, 0.08);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy);
    cursor: pointer;
    line-height: 1;
}

.blog-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    background: #ffffff;
    border: 1.5px solid var(--border);
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-filter-btn:hover {
    border-color: var(--green);
    color: var(--green-dark);
}

.blog-filter-btn.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 32, 96, 0.2);
}

/* Featured Story Showcase */
.featured-story-card {
    display: grid;
    grid-template-columns: 1fr;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.28s ease;
}

@media (min-width: 900px) {
    .featured-story-card {
        grid-template-columns: 1.15fr 1fr;
    }
}

.featured-img-col {
    position: relative;
    overflow: hidden;
    background: #0b1a2d;
    min-height: 280px;
}

.featured-img-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.featured-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-story-card:hover .featured-img-col img {
    transform: scale(1.04);
}

.featured-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(0, 120, 73, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-body-col {
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-meta-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.chip-accent {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 120, 73, 0.1);
    color: var(--green-dark);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.read-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

.featured-body-col h2 {
    font-size: 1.85rem;
    line-height: 1.28;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.featured-body-col h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-body-col h2 a:hover {
    color: var(--green);
}

.featured-subtitle {
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.featured-excerpt {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.75rem;
}

.tag-pill {
    font-size: .75rem;
    color: #475569;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.author-micro {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, #1e40af 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 32, 96, 0.15);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
}

.author-role {
    font-size: .75rem;
    color: var(--muted);
}

/* Articles Grid */
.articles-count-pill {
    font-size: 0.86rem;
    color: var(--muted);
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.articles-count-pill strong {
    color: var(--navy);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.85rem;
}

@media (min-width: 680px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1040px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 120, 73, 0.3);
}

.blog-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.blog-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.06);
}

.blog-cat-pill {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-card-body {
    padding: 1.5rem 1.4rem 1rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.65rem;
}

.blog-dot {
    opacity: 0.5;
}

.blog-card-body h3 {
    font-size: 1.18rem;
    line-height: 1.38;
    color: var(--navy);
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-body h3 a:hover {
    color: var(--green);
}

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
}

.tag-pill-sm {
    font-size: .75rem;
    color: #64748b;
    background: var(--surface);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.blog-card-foot {
    padding: 0.95rem 1.4rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfc;
}

.author-micro-sm {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name-sm {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    transition: all 0.2s ease;
}

.read-link:hover {
    color: var(--green-dark);
    transform: translateX(2px);
}

/* No Results Box */
.blog-no-results {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #ffffff;
    border: 1px dashed var(--border);
    border-radius: 18px;
    margin-top: 1.5rem;
}

.no-results-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-no-results h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.blog-no-results p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Newsletter Briefing Card */
.newsletter-card {
    background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #002060 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(2, 44, 34, 0.3);
    border: 1px solid rgba(52, 211, 153, 0.25);
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 1.9rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.newsletter-content p {
    font-size: 1rem;
    color: #d1fae5;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.35rem;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.newsletter-input-group input {
    flex-grow: 1;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--navy);
}

.newsletter-input-group input:focus {
    outline: none;
}

.newsletter-input-group button {
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    flex-shrink: 0;
}

.newsletter-note {
    display: block;
    font-size: .75rem;
    color: #a7f3d0;
    margin-top: 0.85rem;
}

.newsletter-success {
    background: rgba(6, 78, 59, 0.8);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 12px;
    padding: 1.25rem;
}

/* Practice Mini Cards */
.practice-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .practice-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1040px) {
    .practice-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.practice-mini-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.24s ease;
}

.practice-mini-card:hover {
    transform: translateY(-3px);
    border-color: var(--green);
    box-shadow: var(--shadow-md);
}

.practice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.practice-icon.green {
    background: rgba(0, 120, 73, 0.1);
    color: var(--green);
}

.practice-icon.blue {
    background: rgba(0, 32, 96, 0.08);
    color: var(--navy);
}

.practice-icon.purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.practice-icon.amber {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
}

.practice-mini-card h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.practice-mini-card p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.practice-arrow {
    font-size: 1.1rem;
    color: var(--green);
    font-weight: 700;
    align-self: flex-start;
    transition: transform 0.2s ease;
}

.practice-mini-card:hover .practice-arrow {
    transform: translateX(4px);
}

/* ============================================================
   Article Detail Page Layout & Features
   ============================================================ */
.narrow-article {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero {
    padding-bottom: 1.5rem;
}

.article-hero-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 32, 96, 0.06);
    color: var(--navy);
    font-size: .75rem;
    font-weight: 700;
    border: 1px solid var(--border);
}

.badge-verified svg {
    color: var(--green);
}

.article-title {
    font-size: 2.25rem;
    line-height: 1.22;
    color: var(--navy);
    margin-bottom: 0.95rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2.85rem;
    }
}

.article-lede {
    font-size: 1.15rem;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 1.5rem;
}

.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.article-meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.article-featured-media {
    margin: 1.5rem 0 2.5rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #0f172a;
}

.article-featured-media img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-featured-media figcaption {
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: var(--muted);
    background: #f8fafc;
    border-top: 1px solid var(--border);
    font-style: italic;
}

/* Two-Column Article Layout with Sticky Sidebar */
.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .article-layout {
        grid-template-columns: 280px 1fr;
        gap: 3.5rem;
    }
}

.article-sidebar {
    position: relative;
}

.sticky-sidebar-inner {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-block {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-block-title {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 0.85rem;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-link {
    font-size: 0.88rem;
    color: var(--body);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc-link:hover {
    color: var(--green-dark);
    background: rgba(0, 120, 73, 0.05);
}

.toc-link.is-active {
    color: var(--green-dark);
    font-weight: 700;
    border-left-color: var(--green);
    background: rgba(0, 120, 73, 0.08);
}

/* Social Sharing Widget */
.article-share-widget {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.share-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--navy) !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.share-btn.share-wa:hover {
    background: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
}

.share-btn.share-li:hover {
    background: #0a66c2;
    color: #ffffff !important;
    border-color: #0a66c2;
}

.share-btn.share-tw:hover {
    background: #000000;
    color: #ffffff !important;
    border-color: #000000;
}

.share-btn.share-copy:hover {
    background: var(--navy);
    color: #ffffff !important;
    border-color: var(--navy);
}

.sidebar-cta-card {
    background: rgba(0, 120, 73, 0.05);
    border: 1px solid rgba(0, 120, 73, 0.2);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
}

.sidebar-cta-card h4 {
    font-size: 0.98rem;
    color: var(--green-dark);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.sidebar-cta-card p {
    font-size: 0.84rem;
    color: #334155;
    margin-bottom: 0.95rem;
    line-height: 1.45;
}

/* Main Prose Callouts & Tables */
.article-main {
    max-width: 100%;
}

.callout-card.key-takeaways {
    background: linear-gradient(135deg, rgba(0, 120, 73, 0.06) 0%, rgba(0, 32, 96, 0.04) 100%);
    border: 1.5px solid rgba(0, 120, 73, 0.25);
    border-radius: 16px;
    padding: 1.6rem 1.75rem;
    margin-bottom: 2rem;
}

.callout-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.85rem;
}

.callout-header svg {
    color: var(--yellow);
    fill: rgba(217, 119, 6, 0.2);
}

.callout-card.key-takeaways ul {
    margin: 0;
    padding-left: 1.2rem;
}

.callout-card.key-takeaways li {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.callout-card.key-takeaways li:last-child {
    margin-bottom: 0;
}

.article-intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1e293b;
    margin-bottom: 2rem;
}

/* Pricing / Comparison Tables in Articles */
.pricing-comparison-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pricing-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
    background: #ffffff;
}

.pricing-comparison-table th {
    background: var(--navy);
    color: #ffffff;
    padding: 0.95rem 1.15rem;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
}

.pricing-comparison-table td {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border);
    color: #334155;
    line-height: 1.55;
}

.pricing-comparison-table tr:last-child td {
    border-bottom: none;
}

.pricing-comparison-table tr:nth-child(even) td {
    background: #f8fafc;
}

/* Bottom Share Bar & Author Bio */
.article-bottom-share {
    padding: 1.75rem 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.author-bio-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    margin-top: 2.5rem;
}

.author-bio-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 32, 96, 0.2);
}

.author-bio-content {
    flex-grow: 1;
}

.bio-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.author-bio-content h4 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.bio-role {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 0.65rem;
}

.bio-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--body);
    margin: 0;
}

@media (max-width: 640px) {
    .author-bio-card {
        flex-direction: column;
        padding: 1.5rem;
    }
    .author-bio-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }
    .newsletter-card {
        padding: 2rem 1.25rem;
    }
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
    }
    .newsletter-input-group button {
        border-radius: 12px;
    }
}

/* ============================================================
   Redesigned Service Pages: Modern Looks & Trust Architecture
   ============================================================ */

/* 2-Column Modern Service Hero */
.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding-top: 1rem;
}

@media (min-width: 960px) {
    .service-hero-grid {
        grid-template-columns: 1.15fr 0.95fr;
        gap: 3.5rem;
    }
}

.service-hero-content {
    display: flex;
    flex-direction: column;
}

.service-hero-content h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.1rem);
    line-height: 1.18;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.service-hero-content .lede {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 1.6rem;
}

/* Trust Pill Badges in Hero */
.service-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.service-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 2px 6px rgba(0, 32, 96, 0.04);
}

.service-trust-chip svg {
    color: var(--green);
    flex-shrink: 0;
}

/* Visual Mockup Card in Hero */
.service-hero-visual {
    position: relative;
}

.service-mockup-frame {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px -12px rgba(0, 32, 96, 0.16);
    position: relative;
}

.service-mockup-topbar {
    height: 38px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    justify-content: space-between;
}

.service-mockup-dots {
    display: flex;
    gap: 6px;
}

.service-mockup-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.service-mockup-title {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-mockup-body {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b1a2d;
}

.service-mockup-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-mockup-frame:hover .service-mockup-body img {
    transform: scale(1.03);
}

/* Floating Telemetry Badge over Mockup */
.service-telemetry-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.telemetry-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.telemetry-text {
    display: flex;
    flex-direction: column;
}

.telemetry-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.telemetry-sub {
    font-size: .75rem;
    color: #a7f3d0;
}

/* 4-Item Horizontal Trust Assurance Bar */
.trust-strip-section,
.trust-strip {
    padding: 1.5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 860px) {
    .trust-strip-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-strip-item,
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.trust-strip-icon,
.trust-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 120, 73, 0.08);
    color: var(--green);
    flex-shrink: 0;
}

.trust-strip-icon svg,
.trust-badge-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
    display: block;
    flex-shrink: 0;
}

.trust-strip-text,
.trust-badge-text {
    display: flex;
    flex-direction: column;
}

.trust-strip-title,
.trust-badge-text strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

.trust-strip-desc,
.trust-badge-text span {
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.35;
}

/* Minimal Deliverable Cards Grid */
.service-deliverables-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 680px) {
    .service-deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.deliverable-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.deliverable-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 120, 73, 0.3);
}

.deliverable-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.deliverable-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deliverable-icon.green { background: rgba(0, 120, 73, 0.1); color: var(--green); }
.deliverable-icon.blue { background: rgba(0, 32, 96, 0.08); color: var(--navy); }
.deliverable-icon.purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.deliverable-icon.amber { background: rgba(217, 119, 6, 0.1); color: #b45309; }

.deliverable-tag {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: var(--surface);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.deliverable-card h3 {
    font-size: 1.28rem;
    color: var(--navy);
    margin-bottom: 0.55rem;
    font-weight: 700;
}

.deliverable-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.deliverable-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: auto;
}

.deliverable-features li {
    font-size: 0.86rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deliverable-features li svg {
    color: var(--green);
    flex-shrink: 0;
}

/* Tech Stack Strip */
.tech-stack-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.tech-stack-panel h4 {
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.tech-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Trust Split Section */
.service-trust-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .service-trust-split {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.trust-reasons-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.trust-reasons-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .trust-reasons-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-reason-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.trust-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 120, 73, 0.12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-reason-body h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.trust-reason-body p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

.fast-scoping-card {
    background: linear-gradient(135deg, #022047 0%, #00122e 100%);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fast-scoping-card h3 {
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.fast-scoping-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.scoping-timeline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #6ee7b7;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.scoping-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ==========================================================================
   INDUSTRIES HUB & SECTOR CARDS
   ========================================================================== */
.industry-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.industry-pill:hover,
.industry-pill.is-active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 32, 71, 0.18);
}

.industry-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(2, 32, 71, 0.08);
    font-size: .75rem;
    color: var(--navy);
}

.industry-pill:hover .industry-pill-count,
.industry-pill.is-active .industry-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Master Industry Showcase Grid */
.industry-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .industry-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .industry-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .industry-card-featured {
        grid-column: span 2;
    }
}

/* Industry Card Base */
.industry-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sector-color, var(--teal));
    transition: height 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(2, 32, 71, 0.08);
    border-color: rgba(2, 32, 71, 0.16);
}

.industry-card:hover::before {
    height: 6px;
}

/* Sector Color Custom Properties */
.sector-manufacturing {
    --sector-color: #0284c7;
    --sector-bg: rgba(2, 132, 199, 0.08);
}
.sector-healthcare {
    --sector-color: #059669;
    --sector-bg: rgba(5, 150, 105, 0.08);
}
.sector-retail {
    --sector-color: #d97706;
    --sector-bg: rgba(217, 119, 6, 0.08);
}
.sector-education {
    --sector-color: #6366f1;
    --sector-bg: rgba(99, 102, 241, 0.08);
}
.sector-services {
    --sector-color: #0891b2;
    --sector-bg: rgba(8, 145, 178, 0.08);
}

/* Card Header */
.industry-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.industry-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.industry-sector-code {
    font-family: var(--font-title);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sector-color, var(--navy));
}

.industry-card-title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin: 0;
}

.industry-icon-box {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: var(--sector-bg, rgba(2, 32, 71, 0.05));
    color: var(--sector-color, var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.industry-icon-box svg {
    width: 1.6rem;
    height: 1.6rem;
}

.industry-card:hover .industry-icon-box {
    transform: scale(1.08) rotate(2deg);
}

/* Card Body */
.industry-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.industry-card-desc {
    font-size: 0.885rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* Capabilities Pill Cloud */
.industry-caps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}

.industry-cap-pill {
    font-size: .75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

/* Industry Metrics Callout */
.industry-impact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    margin-bottom: 1.35rem;
}

.impact-metric-val {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sector-color, var(--navy));
    line-height: 1;
}

.impact-metric-lbl {
    font-size: .75rem;
    color: #64748b;
    font-weight: 500;
}

/* Card Footer Action */
.industry-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.industry-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.865rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.industry-action-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.industry-action-link:hover {
    color: var(--sector-color, var(--teal));
    gap: 0.65rem;
}

.industry-action-link:hover svg {
    transform: translateX(3px);
}

/* Featured Large Layout */
@media (min-width: 1100px) {
    .industry-card-featured {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 2rem;
        padding: 2.25rem;
    }
    .industry-card-featured .industry-card-body {
        justify-content: space-between;
    }
    .industry-card-featured .industry-card-header {
        margin-bottom: 1rem;
    }
    .industry-card-featured .industry-card-footer {
        grid-column: span 2;
    }
}

/* Cross-Industry Standards Bar */
.industry-assurance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .industry-assurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industry-assurance-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industry-assurance-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    transition: transform 0.2s ease;
}

.industry-assurance-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.industry-assurance-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(2, 32, 71, 0.05);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.industry-assurance-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.industry-assurance-card p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

/* Vertical Comparison Matrix */
.industry-matrix-panel {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.industry-matrix-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.industry-matrix-table th {
    font-family: var(--font-title);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border);
    background: #f8fafc;
}

.industry-matrix-table td {
    padding: 1rem;
    font-size: 0.84rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.industry-matrix-table tr:hover td {
    background: rgba(2, 32, 71, 0.02);
}

.matrix-sector-name {
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrix-tech-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #334155;
    margin-right: 0.3rem;
}

/* ==========================================================================
   PORTFOLIO SHOWCASE & CASE STUDY CARDS
   ========================================================================== */
.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.portfolio-filter-btn {
    appearance: none;
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.portfolio-filter-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(2, 32, 71, 0.08);
}

.portfolio-filter-btn.is-active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
    box-shadow: 0 4px 14px rgba(2, 32, 71, 0.18);
}

.portfolio-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(2, 32, 71, 0.08);
    font-size: .75rem;
    color: var(--navy);
}

.portfolio-filter-btn.is-active .portfolio-filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Portfolio Card */
.portfolio-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2, 32, 71, 0.1);
    border-color: rgba(2, 32, 71, 0.15);
}

.portfolio-card.is-hidden {
    display: none !important;
}

/* Card Visual Media */
.portfolio-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.5;
    background: #0f172a;
    overflow: hidden;
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-media img {
    transform: scale(1.05);
}

.portfolio-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 32, 71, 0.1) 0%, rgba(2, 32, 71, 0.75) 100%);
    pointer-events: none;
}

.portfolio-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.portfolio-kpi-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.portfolio-kpi-val {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.portfolio-kpi-lbl {
    font-size: .75rem;
    color: #475569;
    font-weight: 600;
}

/* Card Body Content */
.portfolio-body {
    padding: 1.65rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.portfolio-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.portfolio-title a:hover {
    color: var(--teal);
}

/* Problem & Solution Mini Specs */
.portfolio-specs {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portfolio-spec-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.portfolio-spec-lbl {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.portfolio-spec-val {
    font-size: 0.835rem;
    color: #1e293b;
    line-height: 1.45;
}

/* Stack Chips */
.portfolio-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.portfolio-tech-chip {
    font-size: .75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Card Action */
.portfolio-action-row {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.portfolio-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.portfolio-link:hover {
    color: var(--teal);
    gap: 0.6rem;
}

.portfolio-link:hover svg {
    transform: translateX(3px);
}

/* ========================================================================== */

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .whatsapp-float, .cta-band { display: none !important; }
    body { background: #fff; }
}

/* ---------- Touch targets (must stay last: overrides earlier class rules) ---------- */
/* Standalone links are controls, so they clear the 24x24 CSS px minimum (WCAG 2.5.8 AA).
   Inline links inside sentences are exempt and untouched. */
li > a, .breadcrumbs a, .chip, .card-link, .read-link, .portfolio-link, .industry-action-link,
.contact-hub-body a, .footer-legal a, .footer-col ul li a, .post-card h3 a, .blog-card h3 a {
    display: inline-block; min-height: 24px; padding-block: 2px;
}

/* Fine print floor: the smallest type on the site is 12px. */
small { font-size: .75rem; }
