/**
 * All2Design.in — Master Custom CSS System
 * Full-service digital growth agency design system v2
 * Brand: Deep Slate Navy #0F384C · Turquoise/Cyan #00C4CC · Space Grotesk (display) + system-ui (body)
 * Technical base: Bootstrap 5 (vendored). Custom layer only; tokens drive everything.
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'Space Grotesk';
    src: local('Space Grotesk');
    font-display: swap;
}

:root {
    --a2d-navy: #0F384C;
    --a2d-navy-deep: #0A2836;
    --a2d-navy-soft: #16465C;
    --a2d-cyan: #00C4CC;
    --a2d-cyan-dark: #00A7AD;
    --a2d-cyan-soft: #E6FAFA;
    --a2d-surface: #F8FAFC;
    --a2d-surface-alt: #EFF4F7;
    --a2d-ink: #10242E;
    --a2d-muted: #5A6B74;
    --a2d-subtle: #94A3B8;
    --a2d-line: #E4E9EC;
    --a2d-line-strong: #CBD5DC;
    --a2d-white: #FFFFFF;
    --a2d-danger: #D6336C;

    --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

    --fs-xs: .75rem;
    --fs-sm: .875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(15, 56, 76, .05);
    --shadow-md: 0 10px 30px rgba(15, 56, 76, .08);
    --shadow-lg: 0 24px 60px rgba(15, 56, 76, .12);
    --shadow-glow: 0 8px 40px rgba(0, 196, 204, .35);

    --space-section: clamp(64px, 9vw, 128px);
    --space-block: clamp(32px, 5vw, 72px);

    --container: 1200px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--a2d-ink);
    background: var(--a2d-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--a2d-navy);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

a { color: var(--a2d-cyan-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--a2d-cyan); }

img { max-width: 100%; height: auto; }

p { margin-bottom: 1rem; }

.container { max-width: var(--container); }

:focus-visible {
    outline: 2px solid var(--a2d-cyan);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--a2d-navy);
    color: #fff;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============================================================
   UTILITY & TOKEN CLASSES
   ============================================================ */

.text-cyan { color: var(--a2d-cyan) !important; }
.text-navy { color: var(--a2d-navy) !important; }
.text-muted-custom { color: var(--a2d-muted) !important; }
.text-subtle { color: var(--a2d-subtle) !important; }

.bg-surface { background-color: var(--a2d-surface) !important; }
.bg-surface-alt { background-color: var(--a2d-surface-alt) !important; }
.bg-navy { background-color: var(--a2d-navy) !important; }
.bg-navy-deep { background-color: var(--a2d-navy-deep) !important; }
.bg-cyan-soft { background-color: var(--a2d-cyan-soft) !important; }

.cyan-bar { border-top: 3px solid var(--a2d-cyan); }

.text-gradient-cyan {
    background: linear-gradient(135deg, var(--a2d-navy) 0%, var(--a2d-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.metric-value {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--a2d-cyan-dark);
    font-variant-numeric: tabular-nums;
}

.section-pad { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.block-pad { padding-top: var(--space-block); padding-bottom: var(--space-block); }

.subheading-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: var(--a2d-cyan-soft);
    border: 1px solid rgba(0, 196, 204, .35);
    border-radius: var(--radius-pill);
    color: var(--a2d-navy);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 18px;
}

.subheading-badge--dark {
    background: rgba(0, 196, 204, .12);
    border-color: rgba(0, 196, 204, .4);
    color: var(--a2d-cyan);
}

.section-heading { font-size: clamp(1.6rem, 4vw, 2.25rem); }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.min-vh-75 { min-height: 75vh; }
.opacity-80 { opacity: .8; }
.a2d-link { color: var(--a2d-cyan); font-weight: 600; text-decoration: none; }
.a2d-link:hover { color: var(--a2d-navy); text-decoration: underline; }
.leading-relaxed { line-height: 1.75; }
.divider-line { border-bottom: 1px solid var(--a2d-line); }

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */

.btn-primary-custom, .btn-a2d-cyan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--a2d-cyan) 0%, var(--a2d-cyan-dark) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 14px 28px;
    min-height: 48px;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 20px rgba(0, 196, 204, .35);
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary-custom:hover, .btn-a2d-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 196, 204, .5);
    color: #fff;
}

.btn-navy-custom, .btn-a2d-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--a2d-navy);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 14px 28px;
    min-height: 48px;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 18px rgba(15, 56, 76, .25);
    transition: var(--transition);
    cursor: pointer;
}
.btn-navy-custom:hover, .btn-a2d-primary:hover {
    background: var(--a2d-navy-deep);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline-custom, .btn-a2d-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--a2d-navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 13px 27px;
    min-height: 48px;
    border: 2px solid var(--a2d-line-strong);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline-custom:hover, .btn-a2d-outline:hover {
    border-color: var(--a2d-cyan);
    color: var(--a2d-cyan-dark);
    background: var(--a2d-cyan-soft);
}

.btn-a2d-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: var(--a2d-navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 14px 28px;
    min-height: 48px;
    border: none;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
}
.btn-a2d-light:hover { background: var(--a2d-cyan-soft); color: var(--a2d-navy-deep); transform: translateY(-2px); }

/* ============================================================
   TOP STRIP + NAVBAR + MEGA MENU
   ============================================================ */

.top-strip {
    background: var(--a2d-navy-deep);
    color: #fff;
    padding: 8px 0;
    font-size: var(--fs-xs);
}

.navbar-custom {
    background: var(--a2d-white);
    border-bottom: 1px solid var(--a2d-line);
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.navbar-custom.scrolled { padding: 8px 0; box-shadow: var(--shadow-md); }

.navbar-brand img { height: 44px; max-width: 200px; object-fit: contain; }

.nav-link-custom {
    color: var(--a2d-navy) !important;
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 8px 14px !important;
    transition: var(--transition);
}
.nav-link-custom:hover, .nav-link-custom.active { color: var(--a2d-cyan) !important; }

/* Mega menu */
.mega-menu {
    position: static !important;
}
.mega-menu > .dropdown-menu {
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}
.mega-col h6 {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--a2d-subtle);
    margin-bottom: 12px;
}
.mega-col a {
    display: block;
    padding: 7px 0;
    color: var(--a2d-ink);
    font-size: var(--fs-sm);
    font-weight: 500;
    border-bottom: 1px dashed var(--a2d-line);
}
.mega-col a:hover { color: var(--a2d-cyan-dark); }

/* ============================================================
   HERO
   ============================================================ */

.hero-section {
    background:
      radial-gradient(1200px 800px at 110% -10%, rgba(0,196,204,.14), transparent 60%),
      linear-gradient(180deg, var(--a2d-surface) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero-title { font-size: clamp(2.4rem, 5.5vw, 3.8rem); line-height: 1.08; }

.hero-visual-card {
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.proof-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--a2d-navy);
    font-family: var(--font-mono);
}

.chip-float { position: absolute; animation: chipFloat 5s ease-in-out infinite; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.mini-dash-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 14px 18px;
    border-bottom: 1px solid var(--a2d-line);
}

/* ============================================================
   MARQUEE (client logos / partners)
   ============================================================ */

.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: inline-flex;
    gap: 0;
    animation: marquee var(--marquee-speed, 30s) linear infinite;
    will-change: transform;
}
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 28px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-lg);
    color: var(--a2d-subtle);
    letter-spacing: -.01em;
}
.marquee-item img { height: 36px; width: auto; object-fit: contain; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
    .chip-float { animation: none; }
}

/* ============================================================
   CARDS
   ============================================================ */

.custom-card {
    background: var(--a2d-white);
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.custom-card.h-100 {
    height: 100%;
}
.custom-card:hover {
    border-color: var(--a2d-cyan);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.custom-card.clickable-top::before,
.custom-card.clickable::before {
    content: "";
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 3px;
    background: var(--a2d-cyan);
    border-radius: 0 0 var(--radius-pill) var(--radius-pill);
    opacity: 0;
    transition: var(--transition);
}
.custom-card.clickable-top:hover::before,
.custom-card.clickable:hover::before { opacity: 1; }

.icon-box-cyan {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--a2d-cyan-soft);
    border: 1px solid rgba(0, 196, 204, .35);
    color: var(--a2d-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.icon-box-navy {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(15, 56, 76, .08);
    border: 1px solid rgba(15, 56, 76, .15);
    color: var(--a2d-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-box-white {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    color: var(--a2d-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* ============================================================
   GROWTH PROCESS / STEP CARDS
   ============================================================ */

.engine-step-card {
    position: relative;
    padding: 26px;
    background: var(--a2d-surface);
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-md);
    transition: var(--transition);
    overflow: hidden;
}
.engine-step-card:hover {
    border-color: var(--a2d-cyan);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.engine-step-num {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--a2d-cyan-dark);
    margin-bottom: 12px;
    line-height: 1;
}

.process-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-md);
    background: #fff;
    height: 100%;
    transition: var(--transition);
}
.process-card .step-index {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--a2d-subtle);
    letter-spacing: .1em;
}
.process-connector::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -24px;
    width: 24px;
    height: 2px;
    background: var(--a2d-line);
}
@media (max-width: 991px) { .process-connector::after { display: none; } }

/* ============================================================
   STAT / METRIC BAND
   ============================================================ */

.stat-block { text-align: center; padding: 20px 12px; }
.stat-block .metric-value { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ============================================================
   FORMS
   ============================================================ */

.audit-form-container {
    background: #fff;
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .4s ease; }

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
}
.step-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--a2d-surface);
    border: 1px solid var(--a2d-line);
    color: var(--a2d-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-sm);
}
.step-pill.active { background: var(--a2d-cyan); color: #fff; border-color: var(--a2d-cyan); }

.custom-input {
    background: var(--a2d-surface);
    border: 1px solid var(--a2d-line);
    color: var(--a2d-ink);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: var(--fs-sm);
    transition: var(--transition);
}
.custom-input:focus {
    outline: none;
    border-color: var(--a2d-cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 196, 204, .15);
}
.custom-input.is-invalid,
.was-validated .custom-input:invalid {
    border-color: var(--a2d-danger);
    background: #fff;
}
.custom-input.is-invalid:focus,
.was-validated .custom-input:invalid:focus {
    box-shadow: 0 0 0 3px rgba(214, 51, 108, .12);
}
.form-feedback { min-height: 1.4em; }
.form-feedback .alert { border-radius: var(--radius-sm); }

.form-label-custom {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--a2d-navy);
    margin-bottom: 6px;
}

/* honey pot field — visually hidden, must stay empty */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.selector-card {
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--a2d-navy);
}
.selector-card:hover { border-color: var(--a2d-cyan); }
.selector-card.selected { border-color: var(--a2d-cyan); background: var(--a2d-cyan-soft); }
.selector-card input { width: 18px; height: 18px; accent-color: var(--a2d-cyan); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.accordion-item.a2d-faq {
    background: #fff;
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.a2d-faq .accordion-button {
    background: #fff;
    color: var(--a2d-navy);
    font-family: var(--font-display);
    font-weight: 600;
    padding: 18px 20px;
}
.a2d-faq .accordion-button:not(.collapsed) {
    color: var(--a2d-cyan-dark);
    background: var(--a2d-cyan-soft);
    box-shadow: none;
}
.a2d-faq .accordion-button:focus { box-shadow: none; }
.a2d-faq .accordion-body { color: var(--a2d-muted); font-size: var(--fs-sm); padding: 0 20px 20px; }

/* ============================================================
   FOOTER
   ============================================================ */

.a2d-footer {
    background: var(--a2d-navy-deep);
    color: rgba(255,255,255,.78);
    padding: 72px 0 0;
    font-size: var(--fs-sm);
}
.a2d-footer h5 {
    color: #fff;
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 18px;
}
.a2d-footer a { color: rgba(255,255,255,.72); }
.a2d-footer a:hover { color: var(--a2d-cyan); }
.a2d-footer ul { list-style: none; margin: 0; padding: 0; }
.a2d-footer ul li { margin-bottom: 10px; }
.a2d-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-pill);
}
.a2d-footer .social-icons a:hover { border-color: var(--a2d-cyan); background: var(--a2d-cyan); color: var(--a2d-navy-deep); }
.a2d-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 20px 0;
    margin-top: 48px;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.55);
}

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */

.sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--a2d-white);
    border-top: 1px solid var(--a2d-line);
    z-index: 1090;
    padding: 10px 14px;
    box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    gap: 10px;
    align-items: center;
}
.sticky-mobile-bar .fm-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    font-size: var(--fs-xs);
    font-weight: 700;
    border-radius: var(--radius-pill);
}
@media (max-width: 767.98px) { .sticky-mobile-bar { display: flex; } }

/* Back to top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 84px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--a2d-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--a2d-cyan); color: var(--a2d-navy-deep); }

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--a2d-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: var(--transition);
}
.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 575.98px) {
    .cookie-banner { left: 10px; right: 10px; bottom: 84px; }
}

/* ============================================================
   REVEAL + MOTION
   ============================================================ */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; transition: none !important; }
}

/* ============================================================
   BREADCRUMB / PAGE HERO / PAGE HEADERS
   ============================================================ */

.page-hero {
    background:
      radial-gradient(900px 500px at 100% 0%, rgba(0,196,204,.14), transparent 55%),
      linear-gradient(180deg, var(--a2d-surface) 0%, #fff 100%);
    padding: clamp(48px, 7vw, 96px) 0;
    border-bottom: 1px solid var(--a2d-line);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

.breadcrumb-custom {
    --bs-breadcrumb-divider: '›';
    font-size: var(--fs-xs);
}
.breadcrumb-custom a { color: var(--a2d-muted); }
.breadcrumb-custom .active { color: var(--a2d-navy); font-weight: 600; }

/* ============================================================
   CONTENT / ARTICLE / BLOG PROSE
   ============================================================ */

.prose { font-size: var(--fs-base); line-height: 1.75; color: var(--a2d-ink); }
.prose h2, .prose h3 { margin-top: 2rem; margin-bottom: 1rem; }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .45rem; }
.prose blockquote {
    border-left: 4px solid var(--a2d-cyan);
    padding: 12px 20px;
    margin: 1.5rem 0;
    background: var(--a2d-cyan-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--a2d-navy);
    font-style: italic;
}

/* ============================================================
   BADGES / TAGS / CHIPS
   ============================================================ */

.a2d-tag {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--a2d-line-strong);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--a2d-muted);
    background: #fff;
    transition: var(--transition);
}
.a2d-tag:hover { border-color: var(--a2d-cyan); color: var(--a2d-cyan-dark); }

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--a2d-navy);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #166534;
    background: #DCFCE7;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

/* ============================================================
   MISC SHARED COMPONENTS
   ============================================================ */

.two-tone-band {
    background:
      linear-gradient(135deg, var(--a2d-navy) 0%, var(--a2d-navy-soft) 60%, var(--a2d-cyan-dark) 130%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-input {
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 20px;
    width: 100%;
    font-size: var(--fs-sm);
    box-shadow: inset 0 0 0 1px var(--a2d-line);
}

.media-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--a2d-line);
    box-shadow: var(--shadow-md);
    position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card-image-top-frame { position: relative; overflow: hidden; }
.card-image-top-frame img { transition: transform .5s cubic-bezier(.16,1,.3,1); }
.card-image-top-frame:hover img { transform: scale(1.05); }

.search-box .custom-input {
    padding-left: 48px;
    border-radius: var(--radius-pill);
}
.search-box { position: relative; }
.search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--a2d-subtle);
}

/* Filter bar */
.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    margin: 0 6px 10px 0;
    border: 1px solid var(--a2d-line-strong);
    border-radius: var(--radius-pill);
    background: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--a2d-muted);
    cursor: pointer;
    transition: var(--transition);
}
.filter-pill:hover, .filter-pill.active { background: var(--a2d-navy); color: #fff; border-color: var(--a2d-navy); }

/* Pagination */
.a2d-pagination .page-link {
    color: var(--a2d-navy);
    border: 1px solid var(--a2d-line);
    font-weight: 600;
    min-width: 42px;
    text-align: center;
    margin: 0 4px;
}
.a2d-pagination .page-item.active .page-link { background: var(--a2d-navy); border-color: var(--a2d-navy); color: #fff; }

/* Admin-styled shared tables (light) */
.table-a2d th {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--a2d-subtle);
    font-weight: 700;
    border-bottom: 2px solid var(--a2d-line);
}
.table-a2d td { font-size: var(--fs-sm); vertical-align: middle; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--a2d-muted);
}

/* ============================================================
   BUTTON SIZES (small pill variants used in header/footer)
   ============================================================ */

.btn-sm-pill {
    font-size: var(--fs-xs);
    padding: 10px 18px;
    min-height: 40px;
    border-radius: var(--radius-pill);
}

/* ============================================================
   RESPONSIVE SAFETY (mobile-first hardening)
   ============================================================ */

/* Bottom padding so the fixed sticky mobile bar never covers footer/backdrop */
body { padding-bottom: 0; }
@media (max-width: 767.98px) {
    body { padding-bottom: 72px; }
}

/* --- Top strip: keep announcement readable, tuck phone away on tiny screens --- */
@media (max-width: 575.98px) {
    .top-strip .d-flex.gap-3 { display: none !important; } /* hide phone + whatsapp on smallest, sticky bar has them */
}

/* --- Navbar --- */
@media (max-width: 575.98px) {
    .navbar-brand img { height: 38px; max-width: 160px; }
    .navbar-custom { padding: 8px 0; }
    .navbar-custom.scrolled { padding: 6px 0; }
}

/* Mega menu stacks to accordion columns on tablet/mobile */
@media (max-width: 991.98px) {
    .navbar-collapse { padding: 16px 0; }
    .mega-menu > .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 0;
        border-top: 1px solid var(--a2d-line);
        padding: 8px 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    .mega-menu-panel { width: 100%; }
    .mega-menu-panel .row > .col-md-3, .mega-menu-panel .row > .col-lg-2 {
        border-top: 1px solid var(--a2d-line);
    }
}

/* --- Hero --- */
@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .hero-visual-card { margin: 0 -4px; }
    /* Keep floating chips inside the card on small phones */
    .chip-float { padding: 6px 10px; font-size: var(--fs-xs); }
    .chip-float.proof-chip { right: 6px; left: auto; }
    .chip-float.proof-chip[style*="left"] { left: 6px; right: auto; }
}

/* --- Buttons: full-tap targets that never overflow a 320px viewport --- */
@media (max-width: 575.98px) {
    .btn-primary-custom, .btn-navy-custom, .btn-outline-custom, .btn-a2d-light {
        padding: 13px 20px;
        font-size: var(--fs-sm);
    }
}

/* --- Cards / process / stats: tighten spacing on small screens --- */
@media (max-width: 575.98px) {
    .section-pad { --space-section: 56px; }
    .block-pad { --space-block: 32px; }
    .custom-card, .audit-form-container { padding: 22px; }
    .custom-card p, .custom-card .small { font-size: var(--fs-sm); }
    .process-card { padding: 22px; }
    .stat-block { padding: 12px 6px; }
}

/* --- Audit modal: full-width, scrollable, safe bottom padding --- */
@media (max-width: 575.98px) {
    .modal-dialog { margin: 8px 10px; }
    .modal-dialog-centered { min-height: calc(100% - 16px); }
    .modal-content { border-radius: var(--radius-md); }
    #auditModal .modal-header { padding: 14px 18px; }
    #auditModal .modal-body { padding: 20px 18px !important; }
    #auditModal .modal-dialog { max-height: 92vh; }
    #auditModal .modal-content { max-height: 92vh; display: flex; flex-direction: column; }
    #auditModal .modal-body { overflow-y: auto; }
    #auditModal .step-indicator { gap: 6px; }
    #auditModal .step-pill { width: 28px; height: 28px; font-size: var(--fs-xs); }
    #auditModal .form-feedback .alert { white-space: normal; }
}

/* --- Footer --- */
@media (max-width: 767.98px) {
    .a2d-footer { padding-top: 48px; }
    .a2d-footer .row > [class*="col-"] { margin-bottom: 32px; }
}
@media (max-width: 575.98px) {
    .a2d-footer-bottom .text-md-end { text-align: left; }
    .a2d-footer-bottom .me-3 { display: inline-block; margin-bottom: 6px; }
    .newsletter-input { font-size: var(--fs-sm); }
    #newsletterForm .d-flex.flex-sm-row { flex-direction: column !important; }
    #newsletterForm .btn-a2d-cyan { width: 100%; }
    .social-icons { flex-wrap: wrap; }
}

/* --- Review/prose/tables --- */
@media (max-width: 575.98px) {
    .table-responsive { -webkit-overflow-scrolling: touch; }
    .prose blockquote { padding: 10px 14px; }
    .filter-pill { padding: 7px 14px; margin: 0 4px 8px 0; }
    .pagination { flex-wrap: wrap; }
    .input-group .custom-input { min-width: 0; }
    .input-group .btn-primary-custom { flex-shrink: 0; }
}

/* --- Back-to-top clear of sticky bar --- */
@media (max-width: 767.98px) {
    .back-to-top { bottom: 84px; }
}