/* ============================================
   DirectCom Design System — styles.css
   Refined Tech Light — Premium IT & Cybersecurity
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy: #0A1628;
    --navy-light: #0F1F38;
    --navy-mid: #132847;
    --blue: #1A56A0;
    --blue-light: #3B82C4;
    --blue-glow: rgba(59, 130, 196, 0.4);
    --green: #2D6A1F;
    --green-light: #4A9B32;
    --green-glow: rgba(74, 155, 50, 0.3);
    --warm-gray: #8A8880;
    --warm-100: #E0DDD5;
    --warm-50: #ECEAE3;
    --text-main: #1A1917;
    --text-sub: #5A5955;
    --white: #F7F5F0;
    --danger: #D32F2F;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-glow-blue: 0 0 30px rgba(26,86,160,0.2);
    --shadow-glow-green: 0 0 30px rgba(45,106,31,0.15);
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-heading: 'Rubik', 'Heebo', sans-serif;
    --font-body: 'DM Sans', 'Rubik', sans-serif;
    --font-data: 'Rubik', 'Heebo', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: rgba(26, 86, 160, 0.85); color: #fff; -webkit-text-fill-color: #fff; text-shadow: none; }
::-moz-selection { background: rgba(26, 86, 160, 0.85); color: #fff; text-shadow: none; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--warm-50);
    line-height: 1.6;
    overflow-x: clip;
    position: relative;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 12px;
    display: inline-block;
}
.section-label--light { color: var(--blue-light); }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-title--light { color: var(--white); }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 600px;
    line-height: 1.7;
}
.section-subtitle--light { color: rgba(255,255,255,0.6); }
.section-subtitle--center { margin: 0 auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.15), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.btn:hover::after { opacity: 1; }

.btn--primary {
    padding: 14px 36px;
    font-size: 1.05rem;
    background: var(--blue);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,86,160,0.3);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    padding: 14px 36px;
    font-size: 1.05rem;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.btn--outline {
    padding: 12px 28px;
    font-size: 0.95rem;
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
}
.btn--outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.35s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; }

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    direction: ltr;
}
/* === Brand mark: Secure Signal (slate gray + orange) === */
.logo-mark { width: 33px; height: 36px; flex-shrink: 0; }
/* Light navbar/pages: OUTLINED slate-gray shield (contour) */
.logo-mark .ls-fill { fill: #64748B; opacity: .05; }
.logo-mark .ls-shield { fill: none; stroke: #64748B; stroke-width: 2.4; stroke-linejoin: round; opacity: 1; }
.logo-mark .ls-sig { fill: none; stroke: #F47A1F; stroke-width: 2.7; stroke-linecap: round; }
.logo-mark .ls-dot { fill: #F47A1F; }
/* signal waves: gentle continuous "transmitting" pulse — staggered, smooth */
.logo-mark .ls-sig { opacity: .45; }
.logo-mark .ls-sig.s1 { animation: lsSig 3s ease-in-out infinite; }
.logo-mark .ls-sig.s2 { animation: lsSig 3s ease-in-out infinite .5s; }
@keyframes lsSig { 0%,100% { opacity: .4; } 45% { opacity: 1; } }
/* the signal dot breathes quietly too */
.logo-mark .ls-dot { animation: lsDot 3s ease-in-out infinite; }
@keyframes lsDot { 0%,100% { opacity: .75; } 45% { opacity: 1; } }
/* hover: speed it up + pop the dot */
.logo:hover .logo-mark .ls-sig.s1, .logo:hover .logo-mark .ls-sig.s2 { animation-duration: 1.5s; }
.logo:hover .logo-mark .ls-dot { animation: lsPulse 1.2s ease-in-out infinite; }
@keyframes lsPulse { 0%,100% { transform: scale(1); transform-box: fill-box; transform-origin: center; } 50% { transform: scale(1.3); transform-box: fill-box; transform-origin: center; } }
/* On dark navbar (hero) — outlined shield so it reads on navy */
.navbar:not(.scrolled) .logo-mark .ls-fill { fill: #fff; opacity: .08; }
.navbar:not(.scrolled) .logo-mark .ls-shield { stroke: rgba(255,255,255,.45); opacity: 1; }
.navbar:not(.scrolled) .logo-mark .ls-sig { stroke: #FF9A4D; }
.navbar:not(.scrolled) .logo-mark .ls-dot { fill: #FF9A4D; }

.logo-direct { color: #475569; }
.logo-com { color: #F47A1F; }
.navbar:not(.scrolled) .logo-direct { color: #E8EAED; }
.navbar:not(.scrolled) .logo-com { color: #FF9A4D; }

/* Page-specific navbar for light pages */
.navbar--dark .logo-direct { color: #475569; }
.navbar--dark .logo-com { color: #F47A1F; }

/* Footer logo on dark navy — outlined shield */
.footer .logo-mark .ls-fill { fill: #fff; opacity: .08; }
.footer .logo-mark .ls-shield { stroke: rgba(255,255,255,.45); opacity: 1; }
.footer .logo-mark .ls-sig { stroke: #FF9A4D; }
.footer .logo-mark .ls-dot { fill: #FF9A4D; }
.navbar--dark .nav-links a { color: var(--text-sub); }
.navbar--dark .nav-links a:hover { color: var(--blue); }
.navbar--dark .hamburger span { background: var(--text-main); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-sub);
    transition: color var(--transition-fast);
    position: relative;
}
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.8); }
.nav-links a:hover { color: var(--blue); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--white); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition-base);
}
.nav-links a:hover::after { width: 100%; }
.navbar:not(.scrolled) .nav-links a::after { background: var(--white); }

.nav-cta {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 9px 22px;
    background: rgba(26,86,160,0.10);
    color: var(--blue) !important;
    border: 1px solid rgba(26,86,160,0.30);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}
.nav-cta:hover {
    background: var(--blue) !important;
    color: var(--white) !important;
    border-color: var(--blue);
    transform: translateY(-1px);
}
/* On dark navbar (hero) — subtle light pill */
.navbar:not(.scrolled) .nav-cta {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    border-color: rgba(255,255,255,0.25);
}
.navbar:not(.scrolled) .nav-cta:hover {
    background: rgba(255,255,255,0.16) !important;
    border-color: rgba(255,255,255,0.45);
}
.nav-cta::after { display: none; }

/* Language toggle (flags) */
.lang-toggle {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-body, sans-serif);
    font-size: 0.82rem; font-weight: 600;
    padding: 5px 12px 5px 10px; border-radius: var(--radius-full);
    border: 1px solid rgba(26,86,160,0.25); color: var(--text-sub, #5A5955);
    background: transparent; transition: all var(--transition-base); cursor: pointer;
}
.lang-toggle:hover { border-color: var(--blue); background: rgba(26,86,160,0.06); }
.lang-toggle .flag-il svg, .lang-toggle .flag-us svg {
    width: 22px; height: 15px; border-radius: 3px; display: block;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
/* Show only the flag of the language you'll switch TO */
.lang-toggle .flag-us { display: none; }                 /* HE active → show IL? no: show target */
html:not([lang="en"]) .lang-toggle .flag-il { display: none; }   /* HE active → show US flag (switch to EN) */
html:not([lang="en"]) .lang-toggle .flag-us { display: block; }
html[lang="en"] .lang-toggle .flag-il { display: block; }        /* EN active → show IL flag (switch to HE) */
html[lang="en"] .lang-toggle .flag-us { display: none; }
.navbar:not(.scrolled) .lang-toggle { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.navbar:not(.scrolled) .lang-toggle:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.45); }
/* LTR (English) adjustments */
html[lang="en"] { direction: ltr; }
html[lang="en"] body { text-align: left; }

.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 10px; z-index: 1001; }
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}
.navbar:not(.scrolled) .hamburger span { background: var(--white); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; backdrop-filter: blur(4px); }
.nav-overlay.open { display: block; }

/* --- Animated Backgrounds --- */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.bg-grid--animate { animation: gridShift 20s linear infinite; }
@keyframes gridShift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.5;
}
.bg-glow--blue { background: rgba(26,86,160,0.2); }
.bg-glow--green { background: rgba(45,106,31,0.12); }

/* Floating particles */
.particles-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(59,130,196,0.4);
    animation: particleFloat var(--duration, 12s) var(--delay, 0s) infinite ease-in-out;
}
@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(var(--tx, 100px), var(--ty, -200px)) scale(1.5); opacity: 0.6; }
    90% { opacity: 0; }
}

/* --- Ambient background for light sections (subtle, continuous life) --- */
.sec { position: relative; }
/* any section that hosts an ambient layer must contain it and keep content above */
.sec, .process-section, .faq-section, .related-section, .features-section { position: relative; }
.amb ~ * { position: relative; z-index: 1; }
.amb {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
    background-image: radial-gradient(rgba(10,22,40,0.05) 1px, transparent 1.4px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 78% 72% at 50% 45%, #000 30%, transparent 100%);
    animation: ambGrid 34s linear infinite;
}
@keyframes ambGrid { from { background-position: 0 0; } to { background-position: 30px 30px; } }
.amb-orb { position: absolute; border-radius: 50%; filter: blur(72px); }
.amb-orb.o1 { width: 400px; height: 400px; background: rgba(26,86,160,0.11); top: -90px; inset-inline-start: -70px; animation: ambDriftA 28s ease-in-out infinite; }
.amb-orb.o2 { width: 360px; height: 360px; background: rgba(73,166,50,0.09); bottom: -110px; inset-inline-end: -50px; animation: ambDriftB 32s ease-in-out infinite; }
.amb--alt .o1 { background: rgba(73,166,50,0.10); top: -90px; inset-inline-start: auto; inset-inline-end: -60px; }
.amb--alt .o2 { background: rgba(26,86,160,0.10); bottom: -110px; inset-inline-end: auto; inset-inline-start: -50px; }
@keyframes ambDriftA { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(64px, 44px); } }
@keyframes ambDriftB { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-54px, -34px); } }

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--left, .reveal--right, .reveal--scale {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--left { opacity: 0; transform: translateX(-40px); }
.reveal--left.visible { opacity: 1; transform: translateX(0); }
.reveal--right { opacity: 0; transform: translateX(40px); }
.reveal--right.visible { opacity: 1; transform: translateX(0); }
.reveal--scale { opacity: 0; transform: scale(0.9); }
.reveal--scale.visible { opacity: 1; transform: scale(1); }

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

.tilt-card { transition: transform var(--transition-slow); transform-style: preserve-3d; perspective: 800px; }

/* --- Service Cards --- */
.service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--radius-lg);
    padding: 34px 30px 30px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: start;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    transform: scaleX(0);
    transform-origin: inline-start;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,0,0,0.04); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-bottom: 22px;
    box-shadow: 0 10px 24px -10px rgba(10,22,40,0.55);
    transition: transform var(--transition-base);
}
.service-card:hover .service-icon { transform: translateY(-3px) rotate(-4deg); }
.service-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
/* color rotation for variety (homepage bento) */
.bento .service-card:nth-child(6n+1) .service-icon { background: linear-gradient(135deg, #1A56A0, #3186D6); }
.bento .service-card:nth-child(6n+2) .service-icon { background: linear-gradient(135deg, #1A56A0, #37A6C4); }
.bento .service-card:nth-child(6n+3) .service-icon { background: linear-gradient(135deg, #2D6A1F, #49A632); }
.bento .service-card:nth-child(6n+4) .service-icon { background: linear-gradient(135deg, #0A1628, #1A56A0); }
.bento .service-card:nth-child(6n+5) .service-icon { background: linear-gradient(135deg, #1577A0, #37A6C4); }
.bento .service-card:nth-child(6n+6) .service-icon { background: linear-gradient(135deg, #2D6A1F, #1577A0); }

.service-card h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 11px; letter-spacing: -0.3px; line-height: 1.25; }
.service-card p { font-size: 0.95rem; color: var(--text-sub); line-height: 1.65; margin-bottom: 22px; }
.service-link { font-size: 0.92rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: gap var(--transition-base), color var(--transition-fast); }
.service-link:hover { gap: 12px; color: var(--blue-light); }
.service-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform var(--transition-base); }
.service-link:hover svg { transform: translateX(-4px); }

/* --- Why-us Cards --- */
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(45,106,31,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all var(--transition-base);
}
.why-card:hover .why-card-icon { background: var(--green); box-shadow: 0 4px 12px var(--green-glow); }
.why-card-icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.8; transition: stroke var(--transition-base); }
.why-card:hover .why-card-icon svg { stroke: var(--white); }
.why-card h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; color: var(--text-sub); line-height: 1.6; }

/* --- Testimonial Cards --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: #F59E0B; stroke: none; }
.testimonial-text { font-size: 0.95rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 24px; flex: 1; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}
.testimonial-info h4 { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.testimonial-info span { font-size: 0.82rem; color: var(--text-sub); }
.testimonial-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(45,106,31,0.08);
    color: var(--green);
}

/* --- Portal Cards --- */
.portal-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    display: block;
}
.portal-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(59,130,196,0.3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
}
.portal-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,86,160,0.15); }
.portal-card:hover::before { opacity: 1; }
.portal-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(26,86,160,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all var(--transition-base);
}
.portal-card:hover .portal-card-icon { background: rgba(26,86,160,0.3); transform: scale(1.05); }
.portal-card-icon svg { width: 26px; height: 26px; stroke: var(--blue-light); fill: none; stroke-width: 1.8; }
.portal-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--white); }

/* --- Contact Form --- */
.contact-form { background: var(--white); border-radius: var(--radius-xl); padding: 40px 36px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--text-sub); margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--warm-50);
    transition: all var(--transition-base);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,160,0.1); }
.form-group input.error, .form-group textarea.error { border-color: var(--danger); }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 4px; display: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; stroke: var(--green); fill: none; stroke-width: 1.5; margin: 0 auto 16px; }
.form-success h4 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: 0.95rem; color: var(--text-sub); }

/* --- Process --- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; right: 12.5%; left: 12.5%; height: 2px; background: rgba(0,0,0,0.08); }
.process-step { text-align: center; position: relative; padding: 0 16px; }
.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--warm-100);
    border: 2px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-data);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-gray);
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-steps.animate .step-number { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: 0 8px 24px rgba(26,86,160,0.25); }
.process-step h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; }

/* --- FAQ --- */
.faq-item { background: var(--white); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); transition: box-shadow var(--transition-base); }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--text-main); transition: color var(--transition-fast); gap: 16px; }
.faq-question:hover { color: var(--blue); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--blue); border-radius: 2px; transition: transform var(--transition-base); }
.faq-icon::before { width: 14px; height: 2px; top: 11px; right: 5px; }
.faq-icon::after { width: 2px; height: 14px; top: 5px; right: 11px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.95rem; color: var(--text-sub); line-height: 1.7; }

/* --- Service Page Hero --- */
.page-hero { min-height: 46vh; background: linear-gradient(180deg, #FFFFFF 0%, var(--warm-50) 60%, #EFF3F8 100%); display: flex; align-items: center; position: relative; overflow: hidden; padding: 150px 24px 70px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(26,86,160,0.06) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 65% 75% at 72% 40%, #000 15%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 65% 75% at 72% 40%, #000 15%, transparent 78%); }
/* dual-colour ambient glow — illuminates the hero */
.page-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px 460px at 72% 22%, rgba(26,86,160,0.14), transparent 62%), radial-gradient(520px 420px at 22% 92%, rgba(74,155,50,0.12), transparent 60%); }
.page-hero-content { position: relative; z-index: 2; max-width: 920px; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2.4rem, 5.5vw, 3.6rem); font-weight: 800; color: var(--text-main); line-height: 1.12; margin-bottom: 18px; letter-spacing: -0.5px; }
.page-hero p { font-size: 1.18rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 32px; max-width: 720px; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-sub); margin-bottom: 24px; }
.page-hero .breadcrumb a { color: var(--text-sub); transition: color var(--transition-fast); }
.page-hero .breadcrumb a:hover { color: var(--blue); }
.page-hero .breadcrumb svg { width: 14px; height: 14px; stroke: var(--text-sub); fill: none; stroke-width: 2; }
.page-hero .particles-container .particle { background: rgba(26,86,160,0.25) !important; }

/* --- Features Grid --- */
.features-section { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26,86,160,0.15); }
.feature-card-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(26,86,160,0.07); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: all var(--transition-base); }
.feature-card:hover .feature-card-icon { background: var(--blue); box-shadow: 0 8px 24px rgba(26,86,160,0.25); }
.feature-card-icon svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.8; transition: stroke var(--transition-base); }
.feature-card:hover .feature-card-icon svg { stroke: var(--white); }
.feature-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; }

/* --- FAQ Section --- */
.faq-section { padding: 80px 0; background: var(--warm-100); }

/* --- Related --- */
.related-section { padding: 80px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* --- Process Section (service pages) --- */
.process-section { padding: 100px 0; background: var(--warm-100); }

/* --- CTA Banner --- */
.cta-banner { padding: 80px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); text-align: center; position: relative; overflow: hidden; }
.cta-banner h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.cta-banner .container { position: relative; z-index: 2; }

/* --- Stat Value --- */
.stat-value { font-family: var(--font-data); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.85rem; margin-top: 8px; }

/* --- Scroll Progress --- */
.scroll-progress { position: fixed; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green-light)); z-index: 1001; transform-origin: right; transform: scaleX(0); }

/* --- Footer --- */
.footer { padding: 64px 0 0; background: var(--navy); color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col .hours { font-size: 0.88rem; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: all var(--transition-base); }
.footer-social a:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-steps::before { display: none; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -4px 0 24px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: var(--text-main) !important; font-size: 1.1rem; display: flex; align-items: center; min-height: 44px; }
    .nav-links .lang-toggle { min-height: 44px; }
    .nav-links a::after { display: none; }
    .features-grid, .related-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .logo { font-size: 1.35rem; }
    .nav-cta { padding: 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal, .reveal--left, .reveal--right, .reveal--scale { opacity: 1 !important; transform: none !important; }
    .particle, .bg-grid--animate { animation: none !important; }
    .amb, .amb-orb { animation: none !important; }
    .marquee-track, .threats-row, .trust-inner { animation: none !important; }
}

/* ============================================
   ACCESSIBILITY — Israeli Std 5568 / WCAG 2.0 AA
   ============================================ */
/* Skip to main content link */
.skip-link {
    position: absolute; top: -60px; right: 0; z-index: 2000;
    background: var(--blue, #1A56A0); color: #fff; padding: 12px 24px;
    font-weight: 600; font-size: 1rem; border-radius: 0 0 0 8px;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: -3px; }

/* Visible keyboard focus on every interactive element */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, .service-card:focus-visible,
.portal-card:focus-visible, .client-card:focus-visible, .lang-toggle:focus-visible {
    outline: 3px solid #1A56A0;
    outline-offset: 3px;
    border-radius: 4px;
}
/* On dark backgrounds use a light focus ring */
.navbar:not(.scrolled) a:focus-visible,
.navbar:not(.scrolled) button:focus-visible,
.footer a:focus-visible, .footer button:focus-visible,
.cta-final a:focus-visible, .client-card:focus-visible {
    outline-color: #FF9A4D;
}
/* Don't show focus ring on mouse click, only keyboard */
:focus:not(:focus-visible) { outline: none; }
/* Screen-reader-only utility */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================
   SHARED EDITORIAL COMPONENTS (service pages)
   ============================================ */

/* asymmetric intro: narrative + stat aside */
.edi-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0 60px; align-items: start; }
.edi-intro .edi-main .section-title { margin: 0 0 20px; }
.edi-intro .edi-main p { font-size: 1.05rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 16px; }
.edi-intro .edi-main p b { color: var(--navy); font-weight: 700; }
.edi-aside { border-inline-start: 1px solid rgba(0,0,0,.10); padding-inline-start: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.edi-aside .as { text-align: start; }
.edi-aside .as .n { display: block; font-family: var(--font-data); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -1.5px; }
.edi-aside .as .n i { font-style: normal; background: linear-gradient(135deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.edi-aside .as .l { display: block; font-size: .86rem; color: var(--text-sub); font-weight: 500; margin-top: 7px; line-height: 1.4; }
@media (max-width: 900px) {
    .edi-intro { grid-template-columns: 1fr; gap: 34px; }
    .edi-aside { border-inline-start: none; padding-inline-start: 0; border-top: 1px solid rgba(0,0,0,.10); padding-top: 30px; }
}

/* unified editorial panel, numbered cells */
.edi-panel { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.edi-panel.cols-3 { grid-template-columns: repeat(3, 1fr); }
.edi-cell { position: relative; padding: 36px 28px 32px; text-align: start; transition: background .3s; }
.edi-cell + .edi-cell { border-inline-start: 1px solid rgba(0,0,0,.08); }
.edi-cell::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: inline-start; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.edi-cell:hover { background: var(--warm-50); }
.edi-cell:hover::before { transform: scaleX(1); }
.edi-cell-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.edi-num { font-family: var(--font-data); font-size: 2.2rem; font-weight: 800; color: rgba(10,22,40,.10); line-height: 1; letter-spacing: -1px; transition: color .35s; }
.edi-cell:hover .edi-num { color: rgba(26,86,160,.32); }
/* vivid gradient icon disks — bring the panels to life */
.edi-ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -10px rgba(10,22,40,.5); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.edi-cell:hover .edi-ic { transform: translateY(-3px) rotate(-4deg) scale(1.04); box-shadow: 0 16px 28px -10px rgba(26,86,160,.55); }
.edi-ic svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
/* rotating accent colors across the panel */
.edi-panel .edi-cell:nth-child(6n+1) .edi-ic { background: linear-gradient(135deg,#1A56A0,#3186D6); }
.edi-panel .edi-cell:nth-child(6n+2) .edi-ic { background: linear-gradient(135deg,#1577A0,#37A6C4); }
.edi-panel .edi-cell:nth-child(6n+3) .edi-ic { background: linear-gradient(135deg,#2D6A1F,#49A632); }
.edi-panel .edi-cell:nth-child(6n+4) .edi-ic { background: linear-gradient(135deg,#0A1628,#1A56A0); }
.edi-panel .edi-cell:nth-child(6n+5) .edi-ic { background: linear-gradient(135deg,#1A56A0,#37A6C4); }
.edi-panel .edi-cell:nth-child(6n+6) .edi-ic { background: linear-gradient(135deg,#2D6A1F,#1577A0); }
.edi-cell h3 { font-family: var(--font-heading); font-size: 1.14rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -.3px; line-height: 1.25; }
.edi-cell p { font-size: .91rem; color: var(--text-sub); line-height: 1.65; }
.edi-cell p b { color: var(--navy); font-weight: 700; background: linear-gradient(transparent 62%, rgba(73,166,50,.22) 62%); }
@media (max-width: 900px) {
    .edi-panel, .edi-panel.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .edi-cell:nth-child(n+3) { border-top: 1px solid rgba(0,0,0,.08); }
    .edi-cell:nth-child(odd) { border-inline-start: none; }
}
@media (max-width: 540px) {
    .edi-panel, .edi-panel.cols-3 { grid-template-columns: 1fr; }
    .edi-cell + .edi-cell { border-inline-start: none; border-top: 1px solid rgba(0,0,0,.08); }
}

/* editorial section heading helper */
.edi-head { text-align: start; margin-bottom: 44px; max-width: 680px; }

/* 3-column editorial panel row handling (desktop) */
@media (min-width: 901px) {
    .edi-panel.cols-3 .edi-cell:nth-child(3n+1) { border-inline-start: none; }
    .edi-panel.cols-3 .edi-cell:nth-child(n+4) { border-top: 1px solid rgba(0,0,0,.08); }
}

/* ============================================
   ACCESSIBILITY WIDGET (a11y.js)
   ============================================ */
/* font scaling — affects rem-based sizing across the site */
html.a11y-font-1 { font-size: 112.5%; }
html.a11y-font-2 { font-size: 125%; }
html.a11y-font-3 { font-size: 140%; }
/* contrast modes applied to tagged page content (not the widget itself) */
html.a11y-contrast .a11y-fx { filter: contrast(1.4) saturate(1.35); }
html.a11y-invert .a11y-fx { filter: invert(1) hue-rotate(180deg); }
html.a11y-grayscale .a11y-fx { filter: grayscale(1); }
/* highlight links */
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 2px; }
/* readable font */
html.a11y-readable, html.a11y-readable * { font-family: Arial, 'Heebo', sans-serif !important; letter-spacing: .3px !important; }
/* stop animations */
html.a11y-no-anim *, html.a11y-no-anim *::before, html.a11y-no-anim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-no-anim .reveal, html.a11y-no-anim .reveal--left, html.a11y-no-anim .reveal--right, html.a11y-no-anim .reveal--scale { opacity: 1 !important; transform: none !important; }
/* big cursor */
html.a11y-big-cursor, html.a11y-big-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 2l0 23 6-6 4 9 4-1.6-4-9 8.5 0z' fill='%23000' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") 4 2, auto !important; }

/* floating button */
.a11y-fab { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 3000; width: 54px; height: 54px; border-radius: 50%; background: #1A56A0; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(10,22,40,.3); border: 2px solid rgba(255,255,255,.25); cursor: pointer; transition: transform .25s, background .25s; }
.a11y-fab:hover { transform: scale(1.08); background: #13427e; }
.a11y-fab:focus-visible { outline: 3px solid #FF9A4D; outline-offset: 3px; }
.a11y-fab svg { width: 30px; height: 30px; fill: #fff; }
/* panel */
.a11y-panel { position: fixed; bottom: 88px; inset-inline-start: 22px; z-index: 3000; width: 322px; max-width: calc(100vw - 44px); background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; box-shadow: 0 20px 60px rgba(10,22,40,.28); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; max-height: calc(100vh - 130px); overflow-y: auto; }
.a11y-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.a11y-panel h2 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 0 0 3px; text-align: start; }
.a11y-panel .a11y-sub { font-size: .8rem; color: var(--text-sub); margin-bottom: 14px; text-align: start; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 8px; border: 1px solid rgba(0,0,0,.1); border-radius: 11px; background: #fff; color: var(--text-main); font-family: var(--font-body); font-size: .8rem; font-weight: 600; cursor: pointer; text-align: center; transition: border-color .2s, background .2s, color .2s; min-height: 76px; justify-content: center; }
.a11y-opt svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.a11y-opt:hover { border-color: var(--blue); background: rgba(26,86,160,.04); }
.a11y-opt[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.a11y-opt[aria-pressed="true"] svg { stroke: #fff; }
.a11y-foot { display: flex; gap: 8px; margin-top: 12px; }
.a11y-reset { flex: 1; padding: 11px; border-radius: 10px; background: rgba(198,40,40,.08); color: #c62828; font-weight: 700; font-size: .85rem; cursor: pointer; border: none; font-family: var(--font-body); }
.a11y-reset:hover { background: rgba(198,40,40,.16); }
.a11y-stmt { flex: 1; padding: 11px; border-radius: 10px; background: rgba(26,86,160,.08); color: var(--blue); font-weight: 700; font-size: .85rem; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.a11y-stmt:hover { background: rgba(26,86,160,.16); }
.a11y-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 30px; height: 30px; border: none; background: rgba(0,0,0,.05); border-radius: 8px; cursor: pointer; font-size: 1.15rem; color: var(--text-sub); line-height: 1; }
.a11y-close:hover { background: rgba(0,0,0,.1); }
@media (max-width: 480px) { .a11y-fab { width: 48px; height: 48px; bottom: 16px; inset-inline-start: 16px; } .a11y-panel { bottom: 76px; inset-inline-start: 16px; } }

/* ============================================
   TYPOGRAPHY HARMONIZATION — one consistent
   scale for repeating roles across all pages.
   (uses !important to normalize per-page <style>)
   ============================================ */
/* Card / cell titles — single size everywhere */
.service-card h3, .feature-card h3, .process-step h3, .why-card h4,
.edi-cell h3, .diff h4, .pillar h4, .core-item h4,
.scard h3, .vcard h3, .tier h3, .layer-card h3, .dr-step h3, .flow-step h4, .tl-step h4 {
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
}
/* Card / cell body text — single size everywhere */
.service-card p, .feature-card p, .process-step p, .why-card p,
.edi-cell p, .diff p, .pillar p, .core-item p,
.scard p, .vcard p, .tier > p, .layer-card p, .dr-step p, .flow-step p, .tl-step p {
    font-size: 0.94rem !important;
    line-height: 1.62 !important;
}
/* Section sub-headings (mid level) — single clamp */
.why-pillars-head h3, .lab h2, .why-join h3 {
    font-size: clamp(1.5rem, 2.6vw, 1.95rem) !important;
}
/* Intro lead paragraphs — single size */
.edi-intro .edi-main p, .about-split .as-main p, .portal-copy p, .section-subtitle {
    font-size: 1.08rem !important;
}
