        :root {
            --brand: #05603A;
            --brand-deep: #034028;
            --brand-bright: #0A7A4A;
            --brand-soft: #E6F4EC;
            --ink: #0B1A12;
            --ink-2: #16301F;
            --muted: #5F7268;
            --line: #DCE7E0;
            --gold: #C9A227;
            --gold-soft: #F7EFD4;
            --paper: #F6F8F5;
            --card: #FFFFFF;
            --radius: 18px;
            --radius-sm: 12px;
            --shadow: 0 20px 50px rgba(5, 64, 40, .10);
            --shadow-sm: 0 8px 24px rgba(5, 64, 40, .07);
            --font-display: 'Sora', system-ui, sans-serif;
            --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
        }

        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 100px; }

        body {
            font-family: var(--font-body);
            background: var(--paper);
            color: var(--ink);
            overflow-x: hidden;
        }

        ::selection { background: rgba(201, 162, 39, .4); color: var(--ink); }

        h1, h2, h3, .display-font {
            font-family: var(--font-display);
            font-weight: 700;
            letter-spacing: -.03em;
        }
        h4, h5, h6 { font-family: var(--font-body); }

        .section-pad { padding: 96px 0; }

        .eyebrow {
            display: inline-flex; align-items: center; gap: .55rem;
            font-size: .72rem; font-weight: 800; letter-spacing: .16em;
            text-transform: uppercase; color: var(--brand);
            margin-bottom: 1rem;
        }
        .eyebrow::before {
            content: ''; width: 22px; height: 2px; background: var(--gold);
        }
        .eyebrow.on-dark { color: #8FD6B2; }

        .section-title {
            font-size: clamp(1.75rem, 3.4vw, 2.6rem);
            line-height: 1.14; color: var(--ink); margin: 0;
        }
        .section-title em { font-style: normal; color: var(--brand); }
        .section-title.on-dark { color: #fff; }
        .section-title.on-dark em { color: var(--gold); }

        .section-lead {
            color: var(--muted); font-size: 1rem; line-height: 1.7;
            max-width: 540px; margin-top: 1rem;
        }
        .section-lead.on-dark { color: rgba(255,255,255,.65); }

        /* ---------- Nav ---------- */
        #mainNav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
            padding: 18px 0; transition: padding .3s ease;
        }
        #mainNav.scrolled { padding: 10px 0; }
        .nav-shell {
            background: rgba(255,255,255,.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--line);
            border-radius: 999px;
            padding: .5rem .55rem .5rem 1rem;
            display: flex; align-items: center; gap: 1rem;
            transition: box-shadow .3s ease;
            flex-wrap: wrap;
        }
        #mainNav.scrolled .nav-shell { box-shadow: var(--shadow-sm); }
        /* Keep the Bootstrap collapse menu visible on desktop */
        @media (min-width: 992px) {
            .nav-shell #navMenu {
                display: flex !important;
                align-items: center;
                flex-basis: auto;
                flex-grow: 1;
                gap: .75rem;
            }
        }
        .nav-brand {
            display: flex; align-items: center; gap: .7rem;
            text-decoration: none; margin-right: auto;
            flex-shrink: 0;
        }
        .nav-brand img {
            width: 40px; height: 40px; border-radius: 12px;
            object-fit: cover; border: 1px solid rgba(5,64,58,.15);
            background: var(--brand-soft);
            display: block;
        }
        .nav-brand .brand-fallback {
            width: 40px; height: 40px; border-radius: 12px;
            background: linear-gradient(145deg, var(--brand), var(--brand-deep));
            color: #fff; font-family: var(--font-display); font-weight: 800;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.1rem; flex-shrink: 0;
        }
        .nav-brand .name {
            font-family: var(--font-display); font-weight: 700;
            font-size: 1rem; color: var(--ink); line-height: 1.1;
            white-space: nowrap;
        }
        .nav-brand .sub {
            font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
            color: var(--brand); font-weight: 800;
            white-space: nowrap;
        }
        .nav-links {
            display: flex; align-items: center; gap: .1rem;
            list-style: none; margin: 0; padding: 0;
            flex-wrap: wrap;
        }
        .nav-links a {
            position: relative; display: block;
            padding: .5rem .85rem; font-size: .86rem; font-weight: 700;
            color: var(--ink); text-decoration: none; border-radius: 999px;
            transition: background .2s, color .2s;
        }
        .nav-links a:hover, .nav-links a.active {
            background: var(--brand-soft); color: var(--brand);
        }
        .nav-actions { display: flex; align-items: center; gap: .5rem; }

        .btn-ink {
            background: var(--ink); color: #fff; border: 1px solid var(--ink);
            font-weight: 700; font-size: .86rem; padding: .62rem 1.2rem;
            border-radius: 999px; text-decoration: none;
            display: inline-flex; align-items: center; gap: .45rem;
            transition: background .2s, transform .2s, box-shadow .2s;
        }
        .btn-ink:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
        .btn-gold {
            background: var(--gold); color: #241C00; border: 1px solid var(--gold);
            font-weight: 800; font-size: .86rem; padding: .62rem 1.2rem;
            border-radius: 999px; text-decoration: none;
            display: inline-flex; align-items: center; gap: .45rem;
            transition: background .2s, transform .2s, box-shadow .2s;
        }
        .btn-gold:hover { background: #B8921F; color: #241C00; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(201,162,39,.35); }
        .btn-line {
            background: transparent; color: var(--ink); border: 1px solid var(--line);
            font-weight: 700; font-size: .86rem; padding: .62rem 1.2rem;
            border-radius: 999px; text-decoration: none;
            display: inline-flex; align-items: center; gap: .45rem;
            transition: border-color .2s, background .2s;
        }
        .btn-line:hover { border-color: var(--ink); background: rgba(11,26,18,.04); color: var(--ink); }
        .btn-line.on-dark { border-color: rgba(255,255,255,.28); color: #fff; }
        .btn-line.on-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

        .nav-toggle {
            border: 1px solid var(--line); background: transparent;
            border-radius: 999px; padding: .45rem .7rem; display: none;
        }
        .nav-toggle i { font-size: 1.25rem; color: var(--ink); }
        .nav-toggle:focus { box-shadow: none; }

        @media (max-width: 991.98px) {
            .nav-links, .nav-actions .btn-line, .nav-actions .btn-gold { display: none; }
            .nav-toggle { display: block; }
            .nav-shell { position: relative; border-radius: 22px; }
            #navMenu {
                position: absolute; top: calc(100% + 10px); left: 0; right: 0;
                background: var(--card); border: 1px solid var(--line);
                border-radius: 20px; padding: .75rem; box-shadow: var(--shadow);
            }
            #navMenu .nav-links { display: block; }
            #navMenu .nav-links a { padding: .75rem .95rem; border-radius: 12px; }
            #navMenu .nav-actions { display: flex; margin-top: .75rem; }
            #navMenu .nav-actions .btn-line, #navMenu .nav-actions .btn-gold { display: inline-flex; flex: 1; justify-content: center; }
            #navMenu .nav-actions .d-none.d-lg-inline-flex { display: none !important; }
        }

        /* ---------- Hero ---------- */
        #hero {
            position: relative; overflow: hidden;
            padding: 150px 0 90px;
            background:
                radial-gradient(900px 480px at 85% -10%, rgba(201,162,39,.22), transparent 55%),
                radial-gradient(700px 500px at -10% 100%, rgba(10,122,74,.35), transparent 55%),
                linear-gradient(160deg, #034028 0%, #05603A 55%, #04502F 100%);
        }
        #hero::before {
            content: ''; position: absolute; inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
            background-size: 48px 48px;
            mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 75%);
        }
        #hero::after {
            content: ''; position: absolute; right: -80px; top: 80px;
            width: 420px; height: 420px; border-radius: 50%;
            border: 1px dashed rgba(255,255,255,.14);
            pointer-events: none;
        }
        #hero .container { position: relative; z-index: 1; }

        .hero-kicker {
            display: inline-flex; align-items: center; gap: .6rem;
            background: rgba(255,255,255,.08);
            border: 1px solid rgba(255,255,255,.16);
            border-radius: 999px; padding: .45rem 1.05rem;
            font-size: .74rem; font-weight: 800; letter-spacing: .1em;
            text-transform: uppercase; color: rgba(255,255,255,.85);
            backdrop-filter: blur(8px);
        }
        .hero-kicker .dot {
            width: 8px; height: 8px; border-radius: 50%; background: #5DDA9B;
            box-shadow: 0 0 0 4px rgba(93,218,155,.22);
            animation: blink 2.2s ease-in-out infinite;
        }
        @keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(93,218,155,.05); } }

        .hero-title {
            font-size: clamp(2.35rem, 5.2vw, 3.9rem);
            line-height: 1.06; margin: 1.35rem 0 1.15rem; color: #fff;
            font-weight: 800;
        }
        .hero-title .accent {
            color: var(--gold);
            position: relative;
        }
        .hero-title .accent::after {
            content: ''; position: absolute; left: 0; right: 0; bottom: .05em;
            height: .12em; background: rgba(201,162,39,.28); border-radius: 4px;
        }
        .hero-sub {
            font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.7);
            max-width: 520px; margin-bottom: 2rem;
        }
        .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
        .hero-actions .btn-gold, .hero-actions .btn-ink { font-size: .95rem; padding: .95rem 1.7rem; }
        .hero-actions .btn-ink { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
        .hero-actions .btn-ink:hover { background: rgba(255,255,255,.18); color: #fff; }

        .hero-facts {
            display: flex; flex-wrap: wrap; gap: 0;
            margin-top: 2.75rem; border-top: 1px solid rgba(255,255,255,.14);
            padding-top: 1.4rem; max-width: 640px;
        }
        .hero-fact { flex: 1 1 130px; padding-right: 1.2rem; }
        .hero-fact + .hero-fact { border-left: 1px solid rgba(255,255,255,.14); padding-left: 1.2rem; }
        .hero-fact .num {
            font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
            color: #fff; line-height: 1.15;
        }
        .hero-fact .lbl {
            font-size: .66rem; font-weight: 800; letter-spacing: .12em;
            text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: .3rem;
        }

        /* Hero panel */
        .hero-panel { position: relative; padding: 1rem 0 2rem; }
        .panel-card {
            background: rgba(255,255,255,.97);
            border: 1px solid rgba(255,255,255,.5);
            border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.28);
            position: relative; z-index: 2; overflow: hidden;
        }
        .panel-top {
            background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
            color: #fff; padding: 1.25rem 1.5rem;
            display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        }
        .panel-top .t { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
        .panel-top .no {
            font-size: .66rem; font-weight: 800; letter-spacing: .14em;
            text-transform: uppercase; color: rgba(255,255,255,.65);
        }
        .panel-body { padding: .5rem 1.35rem 1.15rem; }
        .panel-row {
            display: flex; align-items: center; gap: .9rem;
            padding: .9rem 0; border-bottom: 1px dashed var(--line);
        }
        .panel-row:last-child { border-bottom: none; }
        .panel-row .ic {
            width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
            background: var(--brand-soft); color: var(--brand);
            display: flex; align-items: center; justify-content: center;
            font-size: 1.15rem;
        }
        .panel-row .tt { font-weight: 800; font-size: .9rem; line-height: 1.25; color: var(--ink); }
        .panel-row .ss { font-size: .74rem; color: var(--muted); margin-top: .1rem; }
        .panel-foot {
            margin-top: .35rem; background: var(--ink); color: #fff;
            border-radius: 16px 16px 0 0; padding: .85rem 1.35rem;
            display: flex; align-items: center; gap: .6rem;
            font-size: .8rem; font-weight: 700;
        }
        .panel-foot .pulse {
            width: 9px; height: 9px; border-radius: 50%; background: #5DDA9B;
            box-shadow: 0 0 0 4px rgba(93,218,155,.22); flex-shrink: 0;
        }
        .panel-badge {
            position: absolute; z-index: 3;
            background: var(--gold); color: #241C00;
            font-weight: 800; font-size: .78rem;
            padding: .75rem 1.05rem; border-radius: 16px;
            box-shadow: 0 16px 36px rgba(201,162,39,.45);
            top: -8px; right: -4px; transform: rotate(3deg);
            line-height: 1.2; text-align: center;
        }
        .panel-badge .big {
            display: block; font-family: var(--font-display);
            font-size: 1.2rem; line-height: 1;
        }
        .panel-seal {
            position: absolute; z-index: 1; left: -22px; bottom: 10px;
            width: 118px; height: 118px; border-radius: 50%;
            background: rgba(255,255,255,.1); border: 1px dashed rgba(255,255,255,.35);
            display: flex; align-items: center; justify-content: center;
            text-align: center; font-size: .6rem; font-weight: 800;
            letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75);
            animation: slowspin 40s linear infinite;
        }
        @keyframes slowspin { to { transform: rotate(360deg); } }

        @media (max-width: 991.98px) {
            #hero { padding: 128px 0 64px; }
            .hero-panel { display: none; }
            .hero-fact + .hero-fact { border-left: none; padding-left: 0; }
            .hero-facts { gap: 1rem; }
            .hero-fact { flex: 1 1 40%; }
        }

        /* ---------- Services ---------- */
        #services { background: var(--paper); border-top: 1px solid var(--line); }
        .svc-head {
            display: flex; flex-wrap: wrap; align-items: flex-end;
            justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem;
        }
        .svc-card {
            position: relative; background: var(--card);
            border: 1px solid var(--line); border-radius: 22px;
            padding: 2rem 1.75rem 1.75rem; height: 100%;
            display: flex; flex-direction: column;
            transition: transform .3s, box-shadow .3s, border-color .3s;
            overflow: hidden;
        }
        .svc-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
            background: linear-gradient(90deg, var(--brand), var(--gold));
            transform: scaleX(0); transform-origin: left; transition: transform .35s;
        }
        .svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
        .svc-card:hover::before { transform: scaleX(1); }
        .svc-num {
            font-family: var(--font-display); font-size: .72rem; font-weight: 800;
            letter-spacing: .14em; color: var(--gold); margin-bottom: 1rem;
        }
        .svc-icon {
            width: 56px; height: 56px; border-radius: 16px;
            background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
            color: #fff; font-size: 1.4rem;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 1.25rem;
            box-shadow: 0 12px 28px rgba(5,64,58,.28);
        }
        .svc-card h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: .55rem; }
        .svc-card .summary {
            color: var(--muted); font-size: .9rem; line-height: 1.65;
        }
        .svc-points {
            list-style: none; padding: 0; margin: 1.2rem 0 1.5rem;
        }
        .svc-points li {
            display: flex; gap: .6rem; align-items: flex-start;
            font-size: .85rem; padding: .45rem 0;
            border-bottom: 1px dashed var(--line);
            color: var(--ink);
        }
        .svc-points li:last-child { border-bottom: none; }
        .svc-points li i { color: var(--brand); margin-top: .15rem; font-size: .8rem; }
        .svc-link {
            margin-top: auto; align-self: flex-start;
            font-weight: 800; font-size: .85rem; color: var(--ink);
            text-decoration: none; display: inline-flex; align-items: center; gap: .45rem;
            border-bottom: 2px solid var(--gold); padding-bottom: .2rem;
            transition: color .2s, gap .2s;
        }
        .svc-link:hover { color: var(--brand); gap: .7rem; }

        /* ---------- About ---------- */
        #about {
            background: var(--ink);
            color: rgba(255,255,255,.75);
            position: relative; overflow: hidden;
        }
        #about::before {
            content: 'SALAM'; position: absolute; right: -20px; bottom: -40px;
            font-family: var(--font-display); font-size: clamp(5rem, 16vw, 12rem);
            font-weight: 800; color: rgba(255,255,255,.03); line-height: 1;
            pointer-events: none;
        }
        .about-frame {
            position: relative; background: rgba(255,255,255,.04);
            border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
            padding: 14px 14px 0; box-shadow: var(--shadow);
        }
        .about-frame img {
            width: 100%; display: block; border-radius: 14px 14px 0 0;
            object-fit: cover; max-height: 420px;
        }
        .about-frame .label {
            display: flex; align-items: center; gap: .6rem;
            padding: .95rem .35rem 1rem; font-size: .76rem; font-weight: 800;
            letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55);
        }
        .about-frame .label i { color: var(--gold); }

        .value-row {
            display: flex; gap: 1.1rem; align-items: flex-start;
            background: rgba(255,255,255,.04);
            border: 1px solid rgba(255,255,255,.1);
            border-radius: 16px; padding: 1.15rem 1.2rem; height: 100%;
            transition: border-color .25s, transform .25s, background .25s;
        }
        .value-row:hover {
            border-color: rgba(201,162,39,.5);
            background: rgba(255,255,255,.07);
            transform: translateX(4px);
        }
        .value-row .idx {
            font-family: var(--font-display); font-weight: 800;
            font-size: .95rem; color: var(--gold); flex-shrink: 0;
            width: 30px; padding-top: .15rem;
        }
        .value-row .ic {
            width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
            background: rgba(10,122,74,.25); color: #8FD6B2;
            display: flex; align-items: center; justify-content: center;
            border: 1px solid rgba(143,214,178,.2);
        }
        .value-row h5 { font-size: .95rem; font-weight: 800; margin-bottom: .25rem; color: #fff; }
        .value-row p { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.55; }

        /* ---------- Team ---------- */
        #team { background: var(--paper); }
        .member-card {
            background: var(--card); border: 1px solid var(--line);
            border-radius: 22px; overflow: hidden; height: 100%;
            transition: transform .3s, box-shadow .3s;
        }
        .member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
        .member-tile {
            height: 110px; display: flex; align-items: center; justify-content: center;
            background: linear-gradient(145deg, var(--member-color, var(--brand)) 0%, rgba(0,0,0,.25) 160%);
            color: #fff; font-family: var(--font-display);
            font-size: 2.2rem; font-weight: 800; letter-spacing: .02em;
            position: relative;
        }
        .member-tile::after {
            content: ''; position: absolute; inset: auto 0 0 0; height: 5px;
            background: linear-gradient(90deg, var(--gold), transparent 80%);
            opacity: .85;
        }
        .member-body { padding: 1.15rem 1.15rem 1.3rem; }
        .member-body h4 {
            font-family: var(--font-display); font-size: 1.02rem;
            font-weight: 700; margin-bottom: .35rem;
        }
        .member-role {
            font-size: .66rem; font-weight: 800; letter-spacing: .1em;
            text-transform: uppercase; color: var(--brand);
            display: block; margin-bottom: .55rem;
        }
        .member-focus {
            font-size: .8rem; color: var(--muted); margin: 0;
            padding-top: .55rem; border-top: 1px dashed var(--line);
        }

        /* ---------- Process ---------- */
        #process { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
        .step {
            position: relative; z-index: 0; background: var(--paper);
            border: 1px solid var(--line); border-radius: 22px;
            padding: 2.5rem 1.5rem 1.6rem; height: 100%;
            transition: border-color .25s, transform .25s, box-shadow .25s;
        }
        .step:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
        .step .bubble {
            position: absolute; top: -22px; left: 1.5rem; z-index: 2;
            width: 48px; height: 48px; border-radius: 16px;
            background: linear-gradient(145deg, var(--brand), var(--brand-deep));
            color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
            display: flex; align-items: center; justify-content: center;
            border: 4px solid var(--card);
            box-shadow: 0 10px 24px rgba(5,64,58,.3);
        }
        .step h4 { font-size: 1.05rem; font-weight: 800; margin: .5rem 0 .5rem; }
        .step p { font-size: .87rem; color: var(--muted); line-height: 1.65; margin: 0; }
        .step::after {
            content: ''; position: absolute; top: 1px; left: 1.5rem; right: 1.5rem;
            z-index: 1;
            height: 3px; background: linear-gradient(90deg, var(--gold), transparent);
            border-radius: 2px;
        }

        /* ---------- CTA ---------- */
        #cta-band { background: var(--card); padding: 0 0 28px; }
        .cta-strip {
            background:
                radial-gradient(520px 280px at 90% 0%, rgba(201,162,39,.25), transparent 60%),
                linear-gradient(135deg, var(--brand-deep), var(--brand));
            color: #fff; border-radius: 28px;
            padding: clamp(2.4rem, 5vw, 3.6rem);
            position: relative; overflow: hidden;
        }
        .cta-strip::after {
            content: 'SALAM'; position: absolute; right: -10px; bottom: -36px;
            font-family: var(--font-display); font-size: 8rem; font-weight: 800;
            color: rgba(255,255,255,.06); line-height: 1; pointer-events: none;
        }
        .cta-strip h2 {
            font-size: clamp(1.55rem, 3.2vw, 2.3rem); color: #fff;
            position: relative; z-index: 1; margin: 0;
        }
        .cta-strip h2 em { font-style: normal; color: var(--gold); }
        .cta-strip p {
            color: rgba(255,255,255,.7); margin: .85rem 0 0;
            position: relative; z-index: 1; max-width: 540px;
        }
        .cta-strip .btn-gold { position: relative; z-index: 1; padding: .95rem 1.65rem; font-size: .95rem; }

        /* ---------- Contact ---------- */
        #contact { background: var(--paper); border-top: 1px solid var(--line); }
        .contact-card {
            background: var(--card); border: 1px solid var(--line);
            border-radius: 24px; overflow: hidden;
            box-shadow: var(--shadow-sm); height: 100%;
        }
        .contact-card .rule { height: 6px; background: linear-gradient(90deg, var(--brand) 0 60%, var(--gold) 60% 100%); }
        .contact-card .inner { padding: 2rem 2rem 2.1rem; }
        .contact-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .3rem; }
        .contact-card .form-note { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

        .form-label {
            font-size: .76rem; font-weight: 800; letter-spacing: .06em;
            text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem;
        }
        .form-control, .form-select {
            border-radius: var(--radius-sm); border-color: var(--line);
            padding: .75rem .95rem; font-size: .93rem; color: var(--ink);
            background: var(--card); transition: border-color .2s, box-shadow .2s;
        }
        .form-control:focus, .form-select:focus {
            border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(5,96,58,.14);
        }
        .form-control::placeholder { color: #9AA8A0; }
        textarea.form-control { resize: vertical; min-height: 120px; }
        .required-star { color: #C0392B; }
        .btn-send {
            background: var(--brand); color: #fff; border: none;
            font-weight: 800; font-size: .95rem; padding: .95rem 1.5rem;
            border-radius: var(--radius-sm); width: 100%;
            display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
            transition: background .2s, transform .2s, box-shadow .2s;
        }
        .btn-send:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(5,96,58,.3); }
        .btn-send:disabled { opacity: .7; transform: none; }

        .info-panel {
            background: var(--card); border: 1px solid var(--line);
            border-radius: 24px; padding: 2rem; height: 100%;
        }
        .info-panel .sig {
            font-family: var(--font-display); font-size: 1.3rem;
            font-weight: 800; margin-bottom: .4rem;
        }
        .info-panel .tag { color: var(--muted); font-size: .88rem; margin-bottom: 1.5rem; line-height: 1.6; }
        .info-item {
            display: flex; gap: 1rem; align-items: flex-start;
            padding: .95rem 0; border-top: 1px solid var(--line);
        }
        .info-item .ic {
            width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
            border: 1px solid var(--line); background: var(--brand-soft);
            color: var(--brand); display: flex; align-items: center; justify-content: center;
        }
        .info-item .lbl {
            font-size: .64rem; font-weight: 800; letter-spacing: .14em;
            text-transform: uppercase; color: var(--muted);
        }
        .info-item .val {
            font-size: .93rem; font-weight: 700; color: var(--ink);
            text-decoration: none; word-break: break-word;
        }
        a.val:hover { color: var(--brand); }
        .info-socials { display: flex; gap: .55rem; margin-top: 1.35rem; }
        .info-socials a {
            width: 42px; height: 42px; border-radius: 12px;
            border: 1px solid var(--line); color: var(--ink);
            display: flex; align-items: center; justify-content: center;
            text-decoration: none; transition: all .2s;
        }
        .info-socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }

        /* ---------- Footer ---------- */
        footer.site-footer {
            background: var(--ink); color: rgba(255,255,255,.55);
            padding: 72px 0 0; position: relative; overflow: hidden;
            border-top: 4px solid var(--gold);
        }
        footer.site-footer::before {
            content: 'SALAM CONSULTING';
            position: absolute; left: 50%; bottom: 54px; transform: translateX(-50%);
            font-family: var(--font-display); font-size: clamp(3rem, 11vw, 9rem);
            font-weight: 800; color: rgba(255,255,255,.035);
            white-space: nowrap; pointer-events: none; line-height: 1;
        }
        footer.site-footer .container { position: relative; z-index: 1; }
        .footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
        .footer-brand img {
            width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
            border: 1px solid rgba(255,255,255,.18);
            background: rgba(255,255,255,.06);
            display: block;
        }
        .footer-brand .brand-fallback {
            width: 46px; height: 46px; border-radius: 12px;
            background: linear-gradient(145deg, var(--brand-bright), var(--brand));
            color: #fff; font-family: var(--font-display); font-weight: 800;
            display: flex; align-items: center; justify-content: center;
            border: 1px solid rgba(255,255,255,.18); flex-shrink: 0;
        }
        .footer-brand .name {
            font-family: var(--font-display); color: #fff;
            font-weight: 700; font-size: 1.15rem; line-height: 1.15;
        }
        .footer-brand .name span {
            display: block; font-family: var(--font-body); font-size: .62rem;
            letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
            font-weight: 800; margin-top: .15rem;
        }
        footer.site-footer p { font-size: .88rem; line-height: 1.7; }
        footer.site-footer h6 {
            color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
            text-transform: uppercase; margin-bottom: 1.1rem;
        }
        footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
        footer.site-footer ul li { margin-bottom: .55rem; }
        footer.site-footer ul a {
            color: rgba(255,255,255,.55); text-decoration: none; font-size: .87rem;
            display: inline-flex; align-items: center; gap: .45rem;
            transition: color .2s, padding-left .2s;
        }
        footer.site-footer ul a:hover { color: var(--gold); padding-left: 4px; }
        .footer-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
        .footer-pills a {
            border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.75);
            font-size: .78rem; font-weight: 700; padding: .4rem .9rem;
            border-radius: 999px; text-decoration: none;
            display: inline-flex; align-items: center; gap: .4rem;
            transition: all .2s;
        }
        .footer-pills a:hover { background: var(--gold); border-color: var(--gold); color: #241C00; }
        .footer-bottom {
            margin-top: 3.2rem; border-top: 1px solid rgba(255,255,255,.1);
            padding: 1.3rem 0; font-size: .78rem;
            display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
        }
        .footer-bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
        .footer-bottom a:hover { color: #fff; }

        /* ---------- Effects ---------- */
        .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
        .reveal.visible { opacity: 1; transform: none; }
        .reveal-delay-1 { transition-delay: .1s; }
        .reveal-delay-2 { transition-delay: .2s; }
        .reveal-delay-3 { transition-delay: .3s; }

        #backTop {
            position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1030;
            width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--brand);
            background: var(--brand); color: #fff; font-size: 1.05rem;
            opacity: 0; visibility: hidden; transform: translateY(12px);
            transition: all .3s;
        }
        #backTop.show { opacity: 1; visibility: visible; transform: none; }
        #backTop:hover { background: var(--brand-deep); border-color: var(--brand-deep); }

        .toast-success {
            position: fixed; top: 1.2rem; left: 50%; transform: translateX(-50%) translateY(-150%);
            z-index: 1080; background: var(--ink); color: #fff;
            border-left: 5px solid var(--gold); border-radius: 14px;
            padding: .95rem 1.4rem; box-shadow: var(--shadow);
            font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: .65rem;
            transition: transform .45s cubic-bezier(.22,1,.36,1);
            max-width: calc(100vw - 2rem);
        }
        .toast-success.show { transform: translateX(-50%) translateY(0); }
        .toast-success i { color: #5DDA9B; font-size: 1.15rem; }

        @media (max-width: 767.98px) {
            .section-pad { padding: 64px 0; }
            .hero-title { font-size: 2.05rem; }
            .contact-card .inner, .info-panel { padding: 1.5rem; }
        }

        @media print {
            #mainNav, #backTop { display: none !important; }
            body { background: #fff; }
        }
    


/* ============================================================
   News & Posts — public pages
   ============================================================ */

.pub-nav {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.pub-nav .inner {
    max-width: 1180px; margin: 0 auto; padding: .8rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.pub-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.pub-brand img, .pub-brand .brand-fallback {
    width: 42px; height: 42px; border-radius: 13px; object-fit: cover; flex-shrink: 0;
}
.pub-brand .brand-fallback {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff; font-weight: 800; font-family: var(--font-display); font-size: 1.1rem;
}
.pub-brand .name { font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.15; }
.pub-brand .sub { font-size: .7rem; color: var(--muted); letter-spacing: .05em; }
.pub-links { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.pub-links a {
    text-decoration: none; color: var(--muted); font-size: .85rem; font-weight: 600;
    padding: .45rem .85rem; border-radius: 999px; transition: background .25s, color .25s;
}
.pub-links a:hover { background: var(--brand-soft); color: var(--brand); }
.pub-links a.active { background: var(--brand); color: #fff; }
.pub-links a.goldd { background: var(--gold-soft); color: #7A5F10; }

.page-hero {
    padding: 4.25rem 0 3rem;
    background:
        radial-gradient(900px 320px at 10% -20%, rgba(201,162,39,.18), transparent 60%),
        linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #fff;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; margin: .5rem 0 .75rem;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: rgba(255,255,255,.72); max-width: 620px; margin: 0; }
.page-hero .crumbs { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; }
.page-hero .crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--gold); }

.news-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem; margin-bottom: 2rem;
}
.news-count { font-size: .85rem; color: var(--muted); }
.news-search { display: flex; gap: .5rem; }
.news-search input {
    border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem;
    font-size: .9rem; min-width: 240px; background: var(--card); color: var(--ink);
    outline: none; transition: border-color .2s, box-shadow .2s;
}
.news-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(5,64,40,.10); }
.news-search button {
    border: 0; border-radius: 999px; padding: .55rem 1.2rem; cursor: pointer;
    background: var(--brand); color: #fff; font-weight: 700; font-size: .88rem;
}
.news-search button:hover { background: var(--brand-deep); }

.news-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: 22px;
    overflow: hidden; height: 100%; text-decoration: none; color: inherit;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.news-card:hover::before { transform: scaleX(1); }
.news-cover {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    background: linear-gradient(145deg, var(--brand-soft), var(--paper));
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.news-card:hover .news-cover img { transform: scale(1.06); }
.news-cover.no-image {
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 2.2rem;
}
.news-count-badge {
    position: absolute; right: .7rem; bottom: .7rem; z-index: 2;
    background: rgba(3,40,24,.82); color: #fff; font-size: .7rem; font-weight: 700;
    padding: .25rem .6rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.news-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.news-meta {
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
    font-size: .74rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--gold);
}
.news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.news-meta .when { color: var(--muted); letter-spacing: .02em; text-transform: none; font-weight: 600; }
.news-title {
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    line-height: 1.3; margin: 0; color: var(--ink);
}
.news-excerpt { font-size: .9rem; color: var(--muted); line-height: 1.65; margin: 0; }
.news-more {
    margin-top: auto; padding-top: .6rem; font-size: .84rem; font-weight: 700;
    color: var(--brand); display: inline-flex; align-items: center; gap: .4rem;
}
.news-card:hover .news-more { gap: .7rem; }
.news-more i { transition: transform .3s; }
.news-card:hover .news-more i { transform: translateX(3px); }

.news-empty {
    text-align: center; padding: 4rem 1.5rem; border: 1px dashed var(--line);
    border-radius: 22px; background: var(--paper); color: var(--muted);
}
.news-empty i { font-size: 2.4rem; color: var(--brand); display: block; margin-bottom: .8rem; }

.news-pager { margin-top: 2.75rem; display: flex; justify-content: center; }
.news-pager .pagination { margin: 0; }
.news-pager .page-link {
    border-color: var(--line); color: var(--ink); font-weight: 600; font-size: .88rem;
    margin: 0 3px; border-radius: 10px !important;
}
.news-pager .page-item.active .page-link { background: var(--brand); border-color: var(--brand); }
.news-pager .page-item.disabled .page-link { color: #A9B7AF; }

/* --- article --- */
.article-wrap { padding: 3.25rem 0 4.5rem; }
.article-shell { max-width: 820px; margin: 0 auto; }
.article-back {
    display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
    color: var(--brand); font-weight: 700; font-size: .86rem; margin-bottom: 1.5rem;
}
.article-back:hover { color: var(--brand-deep); }
.article-title {
    font-family: var(--font-display); font-weight: 800; color: var(--ink);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.18; margin: .6rem 0 1rem;
}
.article-meta {
    display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
    font-size: .84rem; color: var(--muted); padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line); margin-bottom: 2rem;
}
.article-meta .tag {
    background: var(--brand-soft); color: var(--brand); font-weight: 700;
    padding: .28rem .75rem; border-radius: 999px; font-size: .74rem;
    letter-spacing: .06em; text-transform: uppercase;
}
.article-hero {
    border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
    margin-bottom: 2rem; background: var(--paper);
}
.article-hero img { width: 100%; display: block; }

.article-body { font-size: 1.03rem; line-height: 1.85; color: var(--ink-2); }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin-bottom: 1.25rem; }
.article-body a { color: var(--brand); font-weight: 600; }
.article-body h2, .article-body h3, .article-body h4 {
    font-family: var(--font-display); color: var(--ink);
    margin: 2rem 0 .85rem; line-height: 1.3;
}
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.35rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; }
.article-body img {
    max-width: 100%; height: auto; border-radius: 16px;
    display: block; margin: 1.75rem auto; border: 1px solid var(--line);
}
.article-body blockquote {
    margin: 1.75rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gold);
    background: var(--gold-soft); border-radius: 0 14px 14px 0; color: var(--ink-2);
}
.article-body hr { margin: 2rem 0; border-color: var(--line); }

.gallery { margin: 2.25rem 0; }
.gallery-label {
    font-family: var(--font-display); font-size: .76rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
    margin-bottom: .9rem;
}
.gallery-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery-grid.single { grid-template-columns: 1fr; }
.gallery-item {
    position: relative; display: block; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--line); background: var(--paper); cursor: zoom-in;
    aspect-ratio: 4 / 3;
}
.gallery-grid.single .gallery-item { aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
    content: '\2B25'; position: absolute; right: .6rem; top: .5rem;
    width: 26px; height: 26px; border-radius: 8px; display: flex;
    align-items: center; justify-content: center; font-size: .7rem;
    background: rgba(3,40,24,.7); color: #fff; opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

.news-lightbox .modal-content { background: transparent; border: 0; }
.news-lightbox .modal-body { padding: 0; text-align: center; }
.news-lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; }

.more-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; margin: 3.5rem 0 1.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line);
}
.more-head h3 {
    font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
    margin: 0; color: var(--ink);
}
.more-head a { font-size: .85rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.more-head a:hover { color: var(--brand-deep); }

/* --- footer for public news pages --- */
.pub-foot {
    background: var(--brand-deep); color: rgba(255,255,255,.7);
    padding: 2.5rem 0 1.75rem; margin-top: auto;
}
.pub-foot .inner {
    max-width: 1180px; margin: 0 auto; padding: 0 1.25rem;
        display: flex; flex-wrap: wrap; gap: 1.25rem;
    align-items: center; justify-content: space-between;
}
.pub-foot a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .86rem; }
.pub-foot a:hover { color: var(--gold); }
.pub-foot .links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.pub-foot .copy { font-size: .8rem; color: rgba(255,255,255,.5); }

.pub-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.pub-page main { flex: 1; }

@media (max-width: 767.98px) {
    .pub-brand .sub { display: none; }
    .news-search input { min-width: 0; flex: 1; }
    .news-search { width: 100%; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}


/* ============================================================
   Trusted clients — sliding logo strip
   ============================================================ */

.clients-section { overflow: hidden; }

.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: .5rem 0 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: logo-scroll 34s linear infinite;
    will-change: transform;
}

.logo-set {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1.75rem;
    padding: 0 1rem;
    min-width: 100vw;
    flex: 0 0 auto;
}

.logo-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card, #fff);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.75rem;
    min-width: 170px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.logo-chip:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.logo-chip img {
    display: block;
    height: 74px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

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

.logo-marquee:hover .logo-track { animation-play-state: paused; }

.clients-note {
    margin-top: 2.25rem;
    font-size: .86rem;
    color: var(--muted);
    letter-spacing: .01em;
}
.clients-note i { color: var(--brand); }

@media (max-width: 991.98px) {
    .logo-chip { min-width: 145px; padding: .85rem 1.25rem; }
    .logo-chip img { height: 60px; max-width: 160px; }
    .logo-set { gap: 1.1rem; }
}

@media (max-width: 575.98px) {
    .logo-chip { min-width: 120px; padding: .7rem 1rem; border-radius: 14px; }
    .logo-chip img { height: 48px; max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; }
    .logo-set:nth-child(2) { display: none; }
}


/* ============================================================
   Responsive & interaction polish
   ============================================================ */

/* --- Gutters ------------------------------------------------
   Bootstrap's .g-5 sets a 48px row gutter while .container only
   reserves 12px of padding, so those rows spill ~12px past the
   viewport below 576px (hero + about were edge-to-edge and got
   clipped by body{overflow-x:hidden}). Collapse the oversized
   gutter on stacked breakpoints and widen phone gutters. */
@media (max-width: 991.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 575.98px) {
    .container { padding-left: 18px; padding-right: 18px; }
}

/* --- WCAG 2.5.8: no link or button smaller than 24x24 -------- */
footer.site-footer ul a { padding: .4rem 0; }
.svc-link { padding-top: .5rem; }
.info-item a.val { padding: .4rem 0; }
.news-more { padding-top: .5rem; }
.pub-foot .links { gap: .7rem; }
.pub-foot .links a {
    display: inline-flex; align-items: center;
    padding: .4rem .3rem; margin: -.4rem 0;
}
.page-hero .crumbs a {
    display: inline-flex; align-items: center;
    padding: .45rem .3rem; margin: -.45rem 0;
}
a.back-link {
    display: inline-flex; align-items: center;
    padding: .45rem .3rem; margin: -.1rem -.3rem;
}
.article-back {
    display: inline-flex; align-items: center;
    padding: .4rem .3rem; margin: -.1rem -.3rem;
}

/* --- Touch targets (>= 40px) -------------------------------- */
@media (max-width: 991.98px) {
    footer.site-footer ul li { margin-bottom: .1rem; }
    footer.site-footer ul a { padding: .55rem 0; }
    .footer-pills a { padding: .8rem 1.1rem; }
    .info-item a.val { padding: .55rem 0; }
    .svc-link { padding-top: .7rem; }
    .news-more { padding-top: .85rem; }
    a.back-link { padding: .7rem .45rem; margin: -.1rem -.45rem; }
    .article-back { padding: .6rem .45rem; margin: -.1rem -.45rem; }
    .pub-links a { padding: .68rem .95rem; }
    .pub-foot .links a { padding: .65rem .5rem; margin: -.65rem 0; }
    .page-hero .crumbs a { padding: .6rem .45rem; margin: -.6rem 0; }
}

/* --- Stop iOS zooming the page when a field is focused ------ */
@media (max-width: 991.98px) {
    input.form-control, textarea.form-control,
    select.form-select, .news-search input { font-size: 16px; }
}

/* --- Public news header: stack brand over its link row ------- */
@media (max-width: 575.98px) {
    .pub-nav .inner { flex-wrap: wrap; row-gap: .3rem; padding: .65rem 18px; }
    .pub-brand { flex: 1 0 100%; min-width: 0; }
    .pub-brand .name { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pub-links { flex: 1 0 100%; justify-content: center; gap: .05rem; }
    .pub-foot .inner { justify-content: center; text-align: center; }
    .pub-foot .links { justify-content: center; }
}

/* --- Phone-scale typography & spacing ------------------------ */
@media (max-width: 575.98px) {
    .section-pad { padding: 56px 0; }
    .svc-card { padding: 1.6rem 1.3rem 1.4rem; }
    .contact-card .inner, .info-panel { padding: 1.4rem 1.25rem; }
    .contact-card h3 { font-size: 1.25rem; }
    .value-row { padding: 1rem 1rem; gap: .85rem; }
    .member-tile { height: 96px; font-size: 1.9rem; }
    footer.site-footer { padding-top: 52px; }
    .footer-bottom { margin-top: 2.2rem; }
    .page-hero { padding: 3rem 0 2.25rem; }
    .page-hero p { font-size: .95rem; }
    .news-body { padding: 1.1rem 1.15rem 1.3rem; }
    .news-empty { padding: 2.75rem 1rem; }
    .article-wrap { padding: 2.25rem 0 3.5rem; }
    .article-body { font-size: 1rem; line-height: 1.75; }
    .article-body h2 { font-size: 1.3rem; }
    .article-body h3 { font-size: 1.15rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .more-head { flex-wrap: wrap; gap: .5rem; margin-top: 2.75rem; padding-top: 1.75rem; }
    .news-pager .page-link { padding: .5rem .8rem; }
}

/* --- Comfortable reading measure & balanced headings --------- */
.section-title, .hero-title, .page-hero h1, .article-title,
.news-title, .footer-brand .name {
    text-wrap: balance;
}
.section-lead, .hero-sub, .news-excerpt, footer.site-footer p,
.article-body p, .svc-card .summary {
    text-wrap: pretty;
}

/* --- Global image safety net --------------------------------- */
img { max-width: 100%; height: auto; }

/* --- Visible, consistent keyboard focus ---------------------- */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
summary:focus-visible, label:focus-visible, .gallery-item:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 8px;
}

/* --- Friendlier touch feedback ------------------------------- */
a, button, [role="button"], .gallery-item {
    -webkit-tap-highlight-color: rgba(5, 96, 58, .16);
}

/* --- Respect motion preferences everywhere ------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0 !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* --- Sparse logo sets read better centred than drifting alone -
   With fewer than four client logos the marquee becomes one chip
   drifting across an empty band, so pin it and hide the duplicate. */
.logo-marquee.logo-static {
    -webkit-mask-image: none; mask-image: none;
    padding: .5rem 0 .75rem;
}
.logo-marquee.logo-static .logo-track {
    width: auto; animation: none; will-change: auto;
    justify-content: center; flex-wrap: wrap; row-gap: 1rem;
}
.logo-marquee.logo-static .logo-set {
    min-width: 0; width: 100%;
    justify-content: center; flex-wrap: wrap;
}
.logo-marquee.logo-static .logo-set[aria-hidden="true"] { display: none; }