/* =====================================================================
   SOPHIS a.s. — static rebuild
   Plain, hand-written CSS (no framework, no preprocessor, no build step)
   ===================================================================== */

/* ---------- Design tokens ------------------------------------------- */
:root{
  --primary:#0066cc;
  --primary-dark:#0052a3;
  --primary-50:#eff6ff;

  --slate-50:#f8fafc;
  --slate-100:#f1f5f9;
  --slate-200:#e2e8f0;
  --slate-300:#cbd5e1;
  --slate-400:#94a3b8;
  --slate-500:#64748b;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1e293b;
  --slate-900:#0f172a;
  --white:#ffffff;

  --emerald-500:#10b981;
  --red-500:#ef4444;

  /* per-module accent themes: bg tint + icon/accent color */
  --theme-blue-bg:#eff6ff;      --theme-blue-fg:#2563eb;
  --theme-cyan-bg:#ecfeff;      --theme-cyan-fg:#0891b2;
  --theme-cyan700-bg:#ecfeff;   --theme-cyan700-fg:#0e7490;
  --theme-amber-bg:#fffbeb;     --theme-amber-fg:#d97706;
  --theme-emerald-bg:#ecfdf5;   --theme-emerald-fg:#059669;
  --theme-teal-bg:#f0fdfa;      --theme-teal-fg:#0d9488;
  --theme-violet-bg:#f5f3ff;    --theme-violet-fg:#7c3aed;
  --theme-indigo-bg:#eef2ff;    --theme-indigo-fg:#4f46e5;
  --theme-red-bg:#fef2f2;       --theme-red-fg:#dc2626;
  --theme-sky-bg:#f0f9ff;       --theme-sky-fg:#0284c7;
  --theme-lime-bg:#f7fee7;      --theme-lime-fg:#65a30d;
  --theme-slate-bg:#f1f5f9;     --theme-slate-fg:#334155;
  --theme-orange-bg:#fff7ed;    --theme-orange-fg:#ea580c;
  --theme-purple-bg:#faf5ff;    --theme-purple-fg:#9333ea;
  --theme-pink-bg:#fdf2f8;      --theme-pink-fg:#db2777;
  --theme-rose-bg:#fff1f2;      --theme-rose-fg:#e11d48;
  --theme-green-bg:#f0fdf4;     --theme-green-fg:#15803d;
  --theme-yellow-bg:#fefce8;    --theme-yellow-fg:#a16207;
  --theme-stone-bg:#f5f5f4;     --theme-stone-fg:#44403c;

  --radius:0.5rem;
  --radius-full:9999px;
  --shadow-sm:0 1px 2px rgba(15,23,42,.05);
  --shadow-md:0 4px 10px rgba(15,23,42,.08);
  --shadow-lg:0 12px 30px rgba(15,23,42,.12);

  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --max-width:1280px;
}

/* ---------- Reset ----------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font);
  color:var(--slate-900);
  background:var(--white);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font:inherit;cursor:pointer;background:none;border:none;color:inherit;}
ul{list-style:none;}
address{font-style:normal;}
input,textarea{font:inherit;color:inherit;}
h1,h2,h3,h4{font-weight:900;letter-spacing:-0.01em;}
.container{max-width:var(--max-width);margin-inline:auto;padding-inline:1.25rem;}
@media(min-width:640px){.container{padding-inline:1.5rem;}}
@media(min-width:1024px){.container{padding-inline:2rem;}}
svg{display:block;}
.icon{width:1em;height:1em;}

/* ---------- Buttons ---------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  border-radius:var(--radius-full);
  transition:all .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--primary);color:var(--white);
  padding:1.1rem 2.25rem;font-size:1rem;
  box-shadow:0 10px 25px rgba(0,102,204,.25);
}
.btn-primary:hover{background:var(--primary-dark);}
.btn-secondary{
  background:var(--white);color:var(--slate-700);
  border:2px solid var(--slate-200);
  padding:1.1rem 2.25rem;font-size:1rem;
}
.btn-secondary:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-50);}
.btn-block{width:100%;}
.btn-small{
  background:var(--primary);color:var(--white);
  padding:.6rem 1.4rem;font-size:.8rem;border-radius:var(--radius-full);
}
.btn-small:hover{background:var(--primary-dark);}
.btn-cta{
  display:inline-block;background:var(--primary);color:var(--white);
  font-weight:900;text-transform:uppercase;letter-spacing:.15em;font-size:.85rem;
  padding:1.4rem 3rem;border-radius:var(--radius-full);
  box-shadow:0 15px 35px rgba(0,102,204,.3);
  transition:all .2s ease;
}
.btn-cta:hover{background:#1d4ed8;transform:translateY(-4px);box-shadow:0 10px 15px -3px rgba(30,58,138,.3),0 4px 6px -4px rgba(30,58,138,.3);}
.btn-form{
  width:100%;background:var(--primary);color:var(--white);font-weight:700;
  padding:1.1rem 1.5rem;border-radius:var(--radius);font-size:.85rem;
  text-transform:uppercase;letter-spacing:.08em;
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  box-shadow:var(--shadow-md);transition:background .2s ease;
}
.btn-form:hover{background:var(--primary-dark);}
.btn-form:disabled{background:#93c5fd;cursor:default;}
.btn-link{color:var(--primary);font-weight:700;font-size:.9rem;}
.btn-link:hover{text-decoration:underline;}

/* ---------- Top navigation --------------------------------------------- */
.site-header{
  position:sticky;top:0;z-index:50;width:100%;
  background:rgba(255,255,255,.95);backdrop-filter:blur(6px);
  border-bottom:1px solid var(--slate-100);
  box-shadow:var(--shadow-sm);
}
.nav-row{display:flex;justify-content:space-between;align-items:center;height:6rem;}
.brand-logo{height:2.5rem;width:auto;max-width:9.5rem;object-fit:contain;}
@media(min-width:768px){.brand-logo{height:3rem;max-width:11rem;}}
.nav-links{display:none;align-items:center;gap:2rem;}
@media(min-width:768px){.nav-links{display:flex;}}
.nav-link{
  font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;
  color:var(--slate-600);padding:.5rem 0;position:relative;
}
.nav-link::after{
  content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--primary);
  transform:scaleX(0);transform-origin:left;transition:transform .25s ease;
}
.nav-link:hover{color:var(--primary);}
.nav-link:hover::after{transform:scaleX(1);}
.nav-link.is-active{color:var(--primary);}
.nav-link.is-active::after{transform:scaleX(1);}
.nav-cta{
  background:var(--primary);color:var(--white);padding:.75rem 1.5rem;border-radius:var(--radius-full);
  font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;
  box-shadow:var(--shadow-md);transition:all .2s ease;
}
.nav-cta:hover{background:var(--primary-dark);transform:translateY(-1px);}
.nav-toggle{display:flex;align-items:center;color:var(--slate-600);padding:.5rem;}
.nav-toggle svg{width:2rem;height:2rem;}
@media(min-width:768px){.nav-toggle-wrap{display:none;}}
.mobile-menu{
  display:none;background:var(--white);border-top:1px solid var(--slate-100);
  box-shadow:var(--shadow-lg);
}
.mobile-menu.is-open{display:block;}
.mobile-menu-inner{padding:.5rem 1rem 1.5rem;display:flex;flex-direction:column;gap:.5rem;}
.mobile-link{
  display:block;padding:.75rem 1rem;border-radius:var(--radius);
  font-weight:700;color:var(--slate-600);
}
.mobile-link:hover{background:var(--slate-50);color:var(--primary);}
.mobile-link.is-active{background:var(--primary-50);color:var(--primary);}
.mobile-cta{
  display:block;text-align:center;background:var(--primary);color:var(--white);
  padding:1rem;border-radius:var(--radius);font-weight:700;text-transform:uppercase;
  margin-top:.75rem;box-shadow:var(--shadow-md);
}
@media(min-width:768px){.nav-toggle-wrap, .mobile-menu{display:none !important;}}

/* ---------- Hero --------------------------------------------------- */
.hero{position:relative;background:var(--white);overflow:hidden;border-bottom:1px solid var(--slate-100);}
.hero-blob-a{position:absolute;top:0;right:0;width:800px;height:800px;background:rgba(0,102,204,.05);border-radius:0 0 0 100%;transform:translate(25%,-25%);}
.hero-blob-b{position:absolute;bottom:0;left:0;width:500px;height:500px;background:var(--slate-100);border-radius:0 100% 0 0;transform:translate(-25%,25%);}
.hero-inner{position:relative;z-index:1;padding:6rem 0;text-align:center;display:flex;flex-direction:column;align-items:center;}
@media(min-width:768px){.hero-inner{padding:10rem 0;}}
.hero-badge{
  display:inline-flex;align-items:center;gap:.5rem;background:var(--primary-50);color:var(--primary);
  padding:.5rem 1rem;border-radius:var(--radius-full);margin-bottom:2rem;
  font-size:.85rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
}
.hero-badge .dot{width:.5rem;height:.5rem;border-radius:50%;background:#2563eb;position:relative;}
.hero-logo{width:100%;max-width:520px;height:auto;margin-bottom:2rem;}
@media(min-width:768px){.hero-logo{max-width:760px;}}
.hero-lede{font-size:1.25rem;color:var(--slate-600);max-width:48rem;margin-bottom:3rem;font-weight:300;line-height:1.6;}
@media(min-width:768px){.hero-lede{font-size:1.5rem;}}
.hero-actions{display:flex;flex-direction:column;gap:1.5rem;width:100%;}
@media(min-width:640px){.hero-actions{flex-direction:row;width:auto;}}

.stats-band{padding:3rem 0;margin-top:-2.5rem;position:relative;z-index:2;}
.stats-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;
  background:var(--white);padding:2.5rem;border-radius:var(--radius);
  box-shadow:var(--shadow-lg);border:1px solid var(--slate-100);
}
@media(min-width:768px){.stats-grid{grid-template-columns:repeat(4,1fr);}}
.stat{text-align:center;}
.stat + .stat{border-left:1px solid var(--slate-100);}
.stat-num{font-size:2.25rem;font-weight:900;color:var(--primary);margin-bottom:.25rem;}
.stat-label{font-size:.75rem;font-weight:700;color:var(--slate-400);text-transform:uppercase;letter-spacing:.08em;}

/* ---------- Section header ------------------------------------------ */
.eyebrow{color:var(--primary);font-weight:700;text-transform:uppercase;letter-spacing:.3em;font-size:.75rem;display:block;margin-bottom:1rem;}
.section-head{display:flex;flex-direction:column;gap:1.5rem;justify-content:space-between;margin-bottom:4rem;}
@media(min-width:768px){.section-head{flex-direction:row;align-items:flex-end;}}
.section-head h2{font-size:2.5rem;color:var(--slate-900);letter-spacing:-0.02em;}
@media(min-width:768px){.section-head h2{font-size:3.75rem;}}
.section-head p{color:var(--slate-500);max-width:28rem;font-size:1.125rem;line-height:1.6;}

.portfolio-section{padding:6rem 0;background:var(--slate-50);scroll-margin-top:7rem;}
.portfolio-grid{display:grid;grid-template-columns:1fr;gap:2rem;}
@media(min-width:768px){.portfolio-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.portfolio-grid{grid-template-columns:repeat(3,1fr);}}

.module-card{
  position:relative;background:var(--white);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);border:1px solid var(--slate-100);
  min-height:400px;display:flex;flex-direction:column;
  transition:all .3s ease;
}
.module-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);}
.module-card-bg{position:absolute;inset:0;z-index:0;}
.module-card-bg img{width:100%;height:100%;object-fit:cover;opacity:.14;filter:grayscale(1);transition:all .5s ease;}
.module-card:hover .module-card-bg img{opacity:.5;filter:grayscale(0);transform:scale(1.05);}
.module-card-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,#fff, rgba(255,255,255,.95), transparent);}
.module-card-body{position:relative;z-index:1;padding:2.5rem;display:flex;flex-direction:column;flex:1;}
.module-icon{
  width:4rem;height:4rem;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;
  margin-bottom:2rem;box-shadow:var(--shadow-sm);
}
.module-icon svg{width:2rem;height:2rem;}
.module-card h3{font-size:1.5rem;color:var(--slate-900);margin-bottom:1rem;letter-spacing:-0.01em;}
.module-card:hover h3{color:var(--primary);}
.module-card p{color:var(--slate-500);font-weight:300;font-size:1.05rem;line-height:1.6;margin-bottom:2rem;
  display:block;overflow:visible;flex-shrink:0;}
.module-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;}
.module-card-foot > span:first-child{font-size:.7rem;font-weight:900;color:var(--slate-400);text-transform:uppercase;letter-spacing:.08em;}
.module-card:hover .module-card-foot > span:first-child{color:var(--primary);}
.module-card-arrow{
  flex-shrink:0;
  width:3rem;height:3rem;border-radius:50%;background:var(--slate-100);color:var(--slate-400);
  display:flex;align-items:center;justify-content:center;transition:all .3s ease;
}
.module-card:hover .module-card-arrow{background:var(--primary);color:var(--white);transform:translateX(4px);}

.module-card-arrow .icon{width:1.5rem;height:1.5rem;stroke:currentColor;}

/* theme utility for icon boxes, generated per module color */
.theme-blue{background:var(--theme-blue-bg);color:var(--theme-blue-fg);}
.theme-cyan{background:var(--theme-cyan-bg);color:var(--theme-cyan-fg);}
.theme-cyan700{background:var(--theme-cyan700-bg);color:var(--theme-cyan700-fg);}
.theme-amber{background:var(--theme-amber-bg);color:var(--theme-amber-fg);}
.theme-emerald{background:var(--theme-emerald-bg);color:var(--theme-emerald-fg);}
.theme-teal{background:var(--theme-teal-bg);color:var(--theme-teal-fg);}
.theme-violet{background:var(--theme-violet-bg);color:var(--theme-violet-fg);}
.theme-indigo{background:var(--theme-indigo-bg);color:var(--theme-indigo-fg);}
.theme-red{background:var(--theme-red-bg);color:var(--theme-red-fg);}
.theme-sky{background:var(--theme-sky-bg);color:var(--theme-sky-fg);}
.theme-lime{background:var(--theme-lime-bg);color:var(--theme-lime-fg);}
.theme-slate{background:var(--theme-slate-bg);color:var(--theme-slate-fg);}

/* ---------- Why us / testimonial / feature cards --------------------- */
.why-section{padding:6rem 0;background:var(--white);border-top:1px solid var(--slate-100);}
.why-grid{display:grid;gap:2.5rem;align-items:start;}
@media(min-width:1024px){.why-grid{grid-template-columns:1fr 420px;gap:4rem;}}
.why-copy{max-width:48rem;}
.why-copy h2{font-size:2.5rem;margin-bottom:1.5rem;line-height:1.15;}
@media(min-width:768px){.why-copy h2{font-size:3rem;}}
.why-copy p{color:var(--slate-600);font-size:1.125rem;line-height:1.7;margin-bottom:1.25rem;}
.why-highlight{margin-top:2rem;max-width:42rem;border-left:4px solid var(--primary);padding-left:1.25rem;}
.why-highlight p{font-weight:600;color:var(--slate-800);}

.testimonial{background:var(--slate-50);border:1px solid var(--slate-200);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow-sm);}
.testimonial-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;}
.testimonial-icon{width:3rem;height:3rem;border-radius:var(--radius);background:var(--white);border:1px solid var(--primary-50);color:var(--primary);display:flex;align-items:center;justify-content:center;}
.testimonial-icon svg{width:1.5rem;height:1.5rem;}
.testimonial-tag{color:var(--primary);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.28em;}
.testimonial-quote{font-size:1.5rem;font-weight:900;line-height:1.3;color:#252b5d;}
.testimonial p.testimonial-body{margin-top:1.25rem;color:var(--slate-600);line-height:1.6;}
.testimonial-author{margin-top:1.75rem;padding-top:1.25rem;border-top:1px solid var(--slate-200);}
.testimonial-author .name{font-weight:900;font-size:1.25rem;color:var(--slate-900);}
.testimonial-author .role{color:var(--primary);font-size:.85rem;text-transform:uppercase;letter-spacing:.15em;font-weight:700;margin-top:.25rem;}

.feature-grid{display:grid;gap:1.25rem;margin-top:2.5rem;}
@media(min-width:768px){.feature-grid{grid-template-columns:repeat(3,1fr);}}
.feature-card{background:var(--white);border:1px solid var(--slate-100);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow-sm);transition:all .3s ease;}
.feature-card:hover{box-shadow:var(--shadow-lg);border-color:#bfdbfe;}
.feature-card-icon{width:3rem;height:3rem;border-radius:var(--radius);background:var(--primary-50);border:1px solid #dbeafe;color:var(--primary);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;transition:all .3s ease;}
.feature-card-icon svg{width:1.5rem;height:1.5rem;}
.feature-card:hover .feature-card-icon{background:var(--primary);color:var(--white);}
.feature-card h4{font-size:1.125rem;color:var(--slate-900);margin-bottom:.5rem;}
.feature-card p{color:var(--slate-600);font-size:.9rem;line-height:1.6;}

/* ---------- Final CTA ------------------------------------------------- */
.cta-section{padding:6rem 0;text-align:center;background:var(--white);}
.cta-section h2{font-size:2.5rem;text-transform:uppercase;letter-spacing:-.02em;margin-bottom:2rem;}
@media(min-width:768px){.cta-section h2{font-size:4rem;}}
.cta-section p{font-size:1.25rem;color:var(--slate-500);font-weight:300;line-height:1.7;margin:0 auto 3rem;max-width:44rem;}

/* ---------- Footer ----------------------------------------------------- */
.site-footer{background:var(--slate-50);color:var(--slate-700);padding:2rem 0 1.25rem;border-top:1px solid var(--slate-200);}
.footer-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-bottom:1.75rem;}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.footer-grid{grid-template-columns:repeat(4,1fr);gap:2rem;}}
.footer-brand p{color:var(--slate-500);font-size:.75rem;line-height:1.6;max-width:20rem;font-weight:300;margin-top:.75rem;}
.footer-logo{height:1.9rem;width:auto;max-width:7rem;object-fit:contain;}
.footer-heading{font-size:.75rem;font-weight:700;margin-bottom:.75rem;color:var(--slate-900);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--slate-200);padding-bottom:.35rem;display:inline-block;}
.footer-list{display:flex;flex-direction:column;gap:.5rem;color:var(--slate-500);font-size:.9rem;font-weight:300;}
.footer-list a{display:flex;align-items:center;transition:all .2s ease;}
.footer-list a:hover{color:var(--primary);transform:translateX(2px);}
.footer-list a svg{width:.75rem;height:.75rem;margin-right:.5rem;color:var(--primary);flex-shrink:0;}
.footer-list.footer-modules a svg{color:var(--slate-400);}
.footer-contact-list{display:flex;flex-direction:column;gap:.6rem;color:var(--slate-500);font-size:.9rem;font-weight:300;}
.footer-contact-list li{display:flex;align-items:flex-start;}
.footer-contact-list svg{width:1rem;height:1rem;margin-right:.75rem;color:var(--primary);flex-shrink:0;margin-top:.15rem;}
.footer-bottom{border-top:1px solid var(--slate-200);padding-top:1rem;display:flex;flex-direction:column;gap:1rem;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--slate-400);}
@media(min-width:768px){.footer-bottom{flex-direction:row;}}
.footer-legal{display:flex;gap:1.5rem;font-weight:500;}
.footer-legal button:hover{color:var(--primary);}

/* ---------- Modal (GDPR / ISO) ----------------------------------------- */
.modal-overlay{
  position:fixed;inset:0;background:rgba(2,6,23,.6);backdrop-filter:blur(4px);
  display:none;align-items:center;justify-content:center;padding:1rem;z-index:100;
}
.modal-overlay.is-open{display:flex;}
.modal-box{background:var(--white);border-radius:var(--radius);padding:2rem;max-width:28rem;width:100%;box-shadow:var(--shadow-lg);border:1px solid var(--slate-100);position:relative;}
.modal-close{position:absolute;top:1.25rem;right:1.25rem;padding:.4rem;color:var(--slate-400);border-radius:var(--radius);}
.modal-close:hover{color:var(--slate-600);background:var(--slate-50);}
.modal-close svg{width:1.25rem;height:1.25rem;}
.modal-icon{width:3rem;height:3rem;border-radius:var(--radius);background:var(--primary-50);color:var(--primary);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;}
.modal-icon svg{width:1.5rem;height:1.5rem;}
.modal-box h3{font-size:1.25rem;margin-bottom:.75rem;}
.modal-box p{font-size:.9rem;color:var(--slate-600);line-height:1.6;font-weight:300;margin-bottom:1rem;}
.modal-box .btn-primary{margin-top:.5rem;width:100%;padding:.85rem 1rem;font-size:.75rem;box-shadow:none;}

/* ---------- Generic page hero (about / contact / solutions hub) ------- */
.page-hero{background:var(--white);border-bottom:1px solid var(--slate-200);padding:3.5rem 0;}
.page-hero.center{text-align:center;position:relative;overflow:hidden;}
.page-hero h1{font-size:2.5rem;color:var(--slate-900);margin-bottom:1rem;letter-spacing:-.02em;}
@media(min-width:768px){.page-hero h1{font-size:3.25rem;}}
.page-hero p{color:var(--slate-600);font-size:1.05rem;line-height:1.6;max-width:44rem;}
.page-hero.center p{margin-inline:auto;font-size:1.15rem;}
@media(min-width:768px){.page-hero.center p{font-size:1.3rem;}}

/* ---------- Module detail page ---------------------------------------- */
.module-hero{border-bottom:1px solid var(--slate-200);padding:1.5rem 0;}
@media(min-width:768px){.module-hero{padding:2rem 0;}}
.module-hero-inner{display:flex;flex-direction:column;gap:1.5rem;justify-content:space-between;}
@media(min-width:1024px){.module-hero-inner{flex-direction:row;align-items:center;}}
.module-back{display:inline-flex;align-items:center;font-size:.75rem;color:var(--slate-500);font-weight:500;margin-bottom:.75rem;}
.module-back svg{width:.9rem;height:.9rem;margin-right:.5rem;}
.module-back:hover{color:var(--slate-800);}
.module-hero-main{flex-grow:1;max-width:48rem;}
.module-hero-titlewrap{display:flex;align-items:center;gap:.75rem;margin-bottom:.65rem;}
.module-hero-icon{width:3rem;height:3rem;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.module-hero-icon svg{width:1.5rem;height:1.5rem;}
.module-kicker{color:var(--primary);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;display:block;margin-bottom:.25rem;}
.module-hero-main h1{font-size:1.75rem;color:var(--slate-900);letter-spacing:-.01em;line-height:1.2;}
.module-hero-desc{font-size:1rem;color:var(--slate-600);font-weight:300;line-height:1.6;max-width:36rem;}
.module-hero-image{width:100%;max-width:280px;height:9rem;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid rgba(255,255,255,.8);flex-shrink:0;position:relative;}
.module-hero-image img{width:100%;height:100%;object-fit:cover;}
.module-hero-image::after{content:"";position:absolute;inset:0;background:linear-gradient(to top, rgba(2,6,23,.2), transparent);}

.module-body{padding:4rem 0;}
.module-body-grid{display:grid;gap:3rem;}
@media(min-width:1024px){.module-body-grid{grid-template-columns:2fr 1fr;gap:4rem;}}
.prose p{color:var(--slate-600);line-height:1.75;margin-bottom:1.5rem;}
.prose h3{font-size:1.5rem;color:var(--slate-900);margin:2.5rem 0 1rem;padding-bottom:.5rem;border-bottom:1px solid var(--slate-200);}
.prose ul{margin:.75rem 0 1.5rem;display:flex;flex-direction:column;gap:.6rem;}
.prose li{display:flex;align-items:flex-start;color:var(--slate-700);line-height:1.6;}
.prose li::before{content:"";width:.35rem;height:.35rem;border-radius:50%;background:var(--primary);margin:.55rem .75rem 0 0;flex-shrink:0;}

.why-module-box{background:var(--slate-50);border-radius:var(--radius);padding:2rem;border:1px solid var(--slate-100);margin-top:3rem;}
.why-module-box h3{font-size:1.25rem;margin-bottom:1rem;}
.why-module-box p{color:var(--slate-600);margin-bottom:1.5rem;}
.tag-row{display:flex;flex-wrap:wrap;gap:.75rem;}
.tag{display:inline-flex;align-items:center;border:1px solid var(--slate-200);background:var(--white);padding:.5rem .9rem;border-radius:var(--radius);font-size:.85rem;font-weight:700;color:var(--slate-700);box-shadow:var(--shadow-sm);}
.tag svg{width:1rem;height:1rem;margin-right:.5rem;color:var(--primary);}

.module-sidebar{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-md);border:1px solid var(--slate-100);padding:2rem;align-self:start;position:sticky;top:7rem;}
.module-sidebar h3{font-size:1.1rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1.5rem;}
.feature-list{display:flex;flex-direction:column;gap:1rem;}
.feature-list li{display:flex;align-items:flex-start;}
.feature-list svg{width:1.25rem;height:1.25rem;margin-right:.75rem;margin-top:.1rem;flex-shrink:0;opacity:.85;}
.feature-list span{color:var(--slate-700);font-weight:500;font-size:.9rem;line-height:1.6;}
.sidebar-cta{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--slate-100);}
.sidebar-cta h4{font-weight:700;margin-bottom:.5rem;}
.sidebar-cta p{font-size:.85rem;color:var(--slate-500);margin-bottom:1.5rem;}

/* ---------- HR hub grid & sub-module pages ------------------------------ */
.hr-hub-section{padding:3rem 0 4rem;}
.hr-hub-head{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem;}
@media(min-width:768px){.hr-hub-head{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:4rem;}}
.hr-hub-head > div{max-width:36rem;}
.hr-hub-head h2{font-size:2rem;margin-bottom:0;}
@media(min-width:768px){.hr-hub-head h2{font-size:2.25rem;}}
.hr-hub-head p{color:var(--slate-500);max-width:35rem;line-height:1.65;margin-bottom:.1rem;}
.hr-grid{display:grid;grid-template-columns:1fr;gap:1.25rem;}
@media(min-width:640px){.hr-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.hr-grid{grid-template-columns:repeat(4,1fr);}}
.hr-card{
  position:relative;overflow:hidden;background:var(--white);border:1px solid var(--slate-200);
  border-radius:var(--radius);padding:1.25rem;min-height:230px;box-shadow:var(--shadow-sm);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;display:flex;flex-direction:column;
}
.hr-card:hover{box-shadow:var(--shadow-lg);border-color:#93c5fd;transform:translateY(-3px);}
.hr-card-bar{position:absolute;left:0;right:0;top:0;height:4px;background:var(--primary);opacity:0;transition:opacity .25s ease;}
.hr-card:hover .hr-card-bar{opacity:1;}
.hr-card-icon{
  width:3rem;height:3rem;border-radius:var(--radius);background:var(--theme-slate-bg);
  color:var(--theme-slate-fg);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;box-shadow:var(--shadow-sm);
}
.hr-card[class*="theme-"] .hr-card-icon{background:var(--theme-slate-bg);color:var(--theme-slate-fg);}
.hr-card.theme-indigo .hr-card-icon{background:var(--theme-indigo-bg);color:var(--theme-indigo-fg);}
.hr-card.theme-red .hr-card-icon{background:var(--theme-red-bg);color:var(--theme-red-fg);}
.hr-card.theme-sky .hr-card-icon{background:var(--theme-sky-bg);color:var(--theme-sky-fg);}
.hr-card.theme-cyan .hr-card-icon{background:var(--theme-cyan-bg);color:var(--theme-cyan-fg);}
.hr-card.theme-emerald .hr-card-icon{background:var(--theme-emerald-bg);color:var(--theme-emerald-fg);}
.hr-card.theme-violet .hr-card-icon{background:var(--theme-violet-bg);color:var(--theme-violet-fg);}
.hr-card.theme-lime .hr-card-icon{background:var(--theme-lime-bg);color:var(--theme-lime-fg);}
.hr-card.theme-blue .hr-card-icon{background:var(--theme-blue-bg);color:var(--theme-blue-fg);}
.hr-card.theme-slate .hr-card-icon{background:var(--theme-slate-bg);color:var(--theme-slate-fg);}
.hr-card.theme-teal .hr-card-icon{background:var(--theme-teal-bg);color:var(--theme-teal-fg);}
.hr-card.theme-orange .hr-card-icon{background:var(--theme-orange-bg);color:var(--theme-orange-fg);}
.hr-card.theme-purple .hr-card-icon{background:var(--theme-purple-bg);color:var(--theme-purple-fg);}
.hr-card.theme-pink .hr-card-icon{background:var(--theme-pink-bg);color:var(--theme-pink-fg);}
.hr-card.theme-rose .hr-card-icon{background:var(--theme-rose-bg);color:var(--theme-rose-fg);}
.hr-card.theme-yellow .hr-card-icon{background:var(--theme-yellow-bg);color:var(--theme-yellow-fg);}
.hr-card.theme-stone .hr-card-icon{background:var(--theme-stone-bg);color:var(--theme-stone-fg);}
.hr-card.theme-green .hr-card-icon{background:var(--theme-green-bg);color:var(--theme-green-fg);}
.hr-card-icon svg{width:1.5rem;height:1.5rem;}
.hr-card h3{font-size:1.25rem;margin-bottom:.75rem;color:var(--slate-900);transition:color .2s ease;}
.hr-card:hover h3{color:var(--primary);}
.hr-card p{color:var(--slate-600);font-size:.875rem;line-height:1.6;flex-grow:1;margin-bottom:1.25rem;}
.hr-card-link{display:inline-flex;align-items:center;gap:.45rem;color:var(--primary);font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
.hr-card-link svg{width:1rem;height:1rem;transition:transform .25s ease;}
.hr-card:hover .hr-card-link svg{transform:translateX(4px);}

.hr-sub-body{padding:3rem 0;max-width:48rem;margin:0 auto;}
.hr-sub-body h2{font-size:1.25rem;margin:2rem 0 1rem;}

/* ---------- Solutions hub (interconnection map) ------------------------ */
.hub-section{padding:2.5rem 0 3rem;background:#eef4f7;min-height:60vh;}
.hub-card{background:var(--white);border:1px solid var(--slate-200);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:2rem;}
@media(min-width:768px){.hub-card{padding:2.5rem;}}
.tab-list{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.5rem 0 2rem;}
.tab-btn{
  padding:.6rem 1.1rem;border-radius:var(--radius-full);border:1px solid var(--slate-200);
  font-size:.85rem;font-weight:600;color:var(--slate-600);background:var(--white);transition:all .2s ease;
}
.tab-btn:hover{border-color:var(--primary);color:var(--primary);}
.tab-btn.is-active{background:var(--primary);border-color:var(--primary);color:var(--white);box-shadow:var(--shadow-md);}

.active-module-panel{display:none;}
.active-module-panel.is-active{display:block;}
.active-module-card{
  display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:space-between;
  background:var(--slate-50);border:1px solid var(--slate-200);border-radius:var(--radius);padding:1.75rem;margin-bottom:2.5rem;
}
.active-module-info{display:flex;align-items:center;gap:1.25rem;}
.active-module-info h3{font-size:1.4rem;text-transform:uppercase;letter-spacing:.02em;}
.active-module-info p{color:var(--slate-600);margin-top:.35rem;max-width:36rem;}

.conn-legend{display:flex;gap:1.5rem;margin-bottom:1.5rem;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--slate-400);}
.conn-legend .dot{width:.6rem;height:.6rem;border-radius:50%;display:inline-block;margin-right:.4rem;}
.conn-legend .dot.direct{background:var(--primary);}
.conn-legend .dot.other{background:var(--slate-300);}
.conn-grid{display:grid;grid-template-columns:1fr;gap:1.25rem;}
@media(min-width:640px){.conn-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.conn-grid{grid-template-columns:repeat(4,1fr);}}
.conn-card{
  position:relative;overflow:hidden;border-radius:var(--radius);border:1px solid var(--slate-200);
  padding:1.25rem;min-height:220px;display:flex;flex-direction:column;background:var(--white);
  transition:all .2s ease;
}
.conn-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);}
.conn-card.is-direct{border-color:#bfdbfe;background:var(--primary-50);}
.conn-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:1.25rem;}
.conn-card-icon{width:2.75rem;height:2.75rem;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;}
.conn-card-icon svg{width:1.25rem;height:1.25rem;}
.conn-badge{border-radius:var(--radius-full);padding:.25rem .65rem;font-size:.65rem;font-weight:900;text-transform:uppercase;border:1px solid var(--slate-200);background:var(--slate-50);color:var(--slate-600);}
.conn-card.is-direct .conn-badge{background:var(--primary);border-color:var(--primary);color:var(--white);}
.conn-card h4{font-size:1.1rem;margin-bottom:.5rem;}
.conn-card p{color:var(--slate-500);font-size:.85rem;line-height:1.55;flex-grow:1;}
.conn-card-hint{font-size:.7rem;color:var(--slate-400);margin-top:.75rem;font-style:italic;}
.hub-footer-note{text-align:center;margin-top:3rem;}
.hub-footer-note h3{font-size:1.35rem;margin-bottom:.6rem;}
.hub-footer-note p{color:var(--slate-600);margin-bottom:1.5rem;}

/* ---------- About page --------------------------------------------------- */
.about-hero-grid{display:grid;gap:2.5rem;align-items:center;}
@media(min-width:1024px){.about-hero-grid{grid-template-columns:1fr 420px;gap:3rem;}}
.page-about .page-hero p{font-size:1.1rem;line-height:1.65;}
.about-card{background:var(--white);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow-lg);border:1px solid var(--slate-200);}
.about-card-head{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;}
.about-card-icon{width:3rem;height:3rem;border-radius:var(--radius);background:var(--slate-50);border:1px solid var(--slate-200);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--primary);}
.about-card-icon svg{width:1.5rem;height:1.5rem;}
.about-card h2{font-size:1.35rem;}
.about-card-head p{color:var(--slate-600);font-size:1rem;line-height:1.6;margin-top:.5rem;}
.about-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;}
.about-stat{border-radius:var(--radius);background:var(--slate-50);border:1px solid var(--slate-200);padding:1rem;}
.about-stat .num{font-size:1.5rem;font-weight:900;color:var(--primary);}
.about-stat .label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:var(--slate-500);margin-top:.2rem;}

.about-section{padding:4rem 0;}
.page-about .about-section{background:#eef4f7;}
.about-main-grid{display:grid;gap:2rem;}
@media(min-width:1024px){.about-main-grid{grid-template-columns:1fr 360px;gap:3rem;}}
.panel{background:var(--white);border:1px solid var(--slate-200);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.75rem;}
@media(min-width:768px){.panel{padding:2rem;}}
.panel h2{font-size:1.75rem;margin-bottom:1.25rem;}
.panel p + p{margin-top:1.1rem;}
.panel p{color:var(--slate-600);font-size:1.05rem;line-height:1.75;}
.mini-card-grid{display:grid;gap:1rem;margin-top:2rem;}
@media(min-width:768px){.mini-card-grid{grid-template-columns:repeat(3,1fr);}}
.mini-card{border:1px solid var(--slate-200);background:var(--slate-50);border-radius:var(--radius);padding:1.25rem;}
.mini-card h3{font-size:1rem;margin-bottom:.6rem;}
.mini-card p{font-size:.9rem;color:var(--slate-600);line-height:1.65;}

.panel.side{display:flex;flex-direction:column;height:100%;}
.milestones{display:flex;flex-direction:column;gap:1rem;}
.milestone{display:flex;gap:1rem;}
.milestone-year{width:3.5rem;height:2.5rem;border-radius:var(--radius);background:var(--primary-50);color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:900;flex-shrink:0;}
.milestone p{color:var(--slate-600);font-size:.95rem;line-height:1.65;}
.cert-box{margin-top:auto;padding-top:1.5rem;border-top:1px solid var(--slate-200);}
.cert-row{display:flex;align-items:flex-start;gap:1rem;border-radius:var(--radius);background:var(--slate-50);border:1px solid var(--slate-200);padding:1rem;}
.cert-row svg{width:2rem;height:2rem;color:var(--primary);flex-shrink:0;}
.cert-row .cert-title{font-weight:900;color:var(--slate-900);}
.cert-row .cert-sub{font-size:.9rem;color:var(--slate-500);margin-top:.15rem;}

.eu-section{background:var(--white);border-top:1px solid var(--slate-200);border-bottom:1px solid var(--slate-200);padding:4rem 0;}
.eu-grid{display:grid;gap:2rem;align-items:start;}
@media(min-width:1024px){.eu-grid{grid-template-columns:380px 1fr;gap:3rem;}}
.eu-side{position:sticky;top:8rem;}
.eu-side h2{font-size:2.25rem;line-height:1.15;margin-bottom:1rem;}
.eu-badge-box{background:var(--white);border:1px solid var(--slate-200);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow-sm);margin-top:1.5rem;}
.eu-info-box{border:1px solid #dbeafe;background:rgba(239,246,255,.7);border-radius:var(--radius);padding:1.25rem;margin-top:1.25rem;}
.eu-info-box .tag-label{font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.28em;color:var(--primary);margin-bottom:.5rem;}
.eu-info-box p{font-size:.95rem;color:var(--slate-700);line-height:1.65;}
.eu-list{border:1px solid var(--slate-200);border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow-sm);overflow:hidden;}
.eu-list-head{border-bottom:1px solid var(--slate-200);background:var(--slate-50);padding:1rem 1.5rem;}
.eu-list-head .tag-label{font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.3em;color:var(--slate-400);}
.eu-list-head p{margin-top:.5rem;font-size:.95rem;font-weight:600;color:var(--slate-700);}
.eu-item{display:grid;gap:1.25rem;padding:1.5rem;border-bottom:1px solid var(--slate-100);}
.eu-item:last-child{border-bottom:none;}
@media(min-width:768px){.eu-item{grid-template-columns:160px 1fr;}}
.eu-item-year{width:4rem;height:2.75rem;border-radius:var(--radius);background:var(--primary);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:.75rem;}
.eu-item-program{border:1px solid var(--slate-200);background:var(--slate-50);border-radius:var(--radius);padding:.5rem .75rem;}
.eu-item-program .lbl{font-size:.62rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:var(--slate-400);margin-bottom:.2rem;}
.eu-item-program .val{font-size:.75rem;font-weight:700;color:var(--primary);line-height:1.3;}
.eu-item h3{font-size:1.25rem;margin-bottom:.5rem;}
.eu-item p{color:var(--slate-600);font-size:.95rem;line-height:1.65;}
.eu-item .funded-note{margin-top:1rem;font-size:.9rem;font-weight:600;color:var(--slate-800);}

.final-note{padding:4rem 0;}
.page-about .final-note{background:#eef4f7;}
.final-note-box{background:linear-gradient(135deg,var(--primary-50),var(--white));border:1px solid #dbeafe;border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow-sm);}
.final-note-inner{display:flex;flex-direction:column;gap:1.25rem;}
@media(min-width:768px){.final-note-inner{flex-direction:row;align-items:center;gap:2rem;}}
.final-note-inner svg{width:2.5rem;height:2.5rem;color:var(--primary);flex-shrink:0;}
.final-note-inner h2{font-size:1.75rem;margin-bottom:.5rem;}
.final-note-inner p{color:var(--slate-600);font-size:1.05rem;line-height:1.65;}

/* ---------- Contact page -------------------------------------------------- */
.contact-grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-bottom:3rem;}
@media(min-width:1024px){.contact-grid{grid-template-columns:5fr 7fr;}}
.contact-col-left{display:flex;flex-direction:column;gap:1.5rem;}
.info-card{background:var(--white);padding:1.75rem;border-radius:var(--radius);box-shadow:var(--shadow-lg);border:1px solid var(--slate-100);}
@media(min-width:768px){.info-card{padding:2rem;}}
.info-card-head{display:flex;align-items:center;margin-bottom:1.5rem;}
.info-card-icon{width:3rem;height:3rem;background:var(--primary-50);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;color:var(--primary);margin-right:1rem;box-shadow:var(--shadow-sm);flex-shrink:0;}
.info-card-icon svg{width:1.5rem;height:1.5rem;}
.info-card-head h2{font-size:1.25rem;}
.info-card-head p{font-size:.85rem;color:var(--slate-500);margin-top:.15rem;}
.info-block{background:var(--slate-50);padding:1rem;border-radius:var(--radius);border:1px solid var(--slate-100);}
.info-block + .info-block{margin-top:1rem;}
.info-block .lbl{font-size:.7rem;font-weight:700;color:var(--slate-400);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem;}
.info-block .val{font-size:1.1rem;font-weight:700;color:var(--slate-900);}
.info-block a.val:hover{color:var(--primary);}
.info-block .val-sm{font-size:.95rem;font-weight:700;color:var(--slate-900);display:flex;align-items:center;}
.info-block .val-sm svg{width:1rem;height:1rem;margin-right:.5rem;color:var(--slate-400);}
address.info-block{line-height:1.6;}
address.info-block strong{display:block;margin-bottom:.15rem;font-size:1.05rem;color:var(--slate-900);}
.status-line{display:flex;align-items:center;font-size:.75rem;color:var(--slate-500);margin-top:1rem;padding-left:.5rem;}
.status-dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--emerald-500);margin-right:.6rem;}

.contact-form-card{background:var(--white);padding:1.75rem;border-radius:var(--radius);box-shadow:var(--shadow-lg);border:1px solid var(--slate-100);height:100%;display:flex;flex-direction:column;}
@media(min-width:768px){.contact-form-card{padding:2rem;}}
.contact-form-card h2{font-size:1.5rem;margin-bottom:.25rem;}
.contact-form-card > p{color:var(--slate-500);font-size:.9rem;margin-bottom:1.5rem;}
.form-grid{display:grid;grid-template-columns:1fr;gap:1rem;}
@media(min-width:640px){.form-grid{grid-template-columns:1fr 1fr;}}
.field label{display:block;font-size:.7rem;font-weight:700;color:var(--slate-500);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.35rem;}
.field input,.field textarea{
  width:100%;padding:.85rem 1rem;border-radius:var(--radius);border:1px solid var(--slate-200);
  background:var(--slate-50);font-size:.9rem;color:var(--slate-800);transition:all .2s ease;
}
.field input:focus,.field textarea:focus{outline:none;background:var(--white);border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);}
.field textarea{resize:vertical;min-height:8rem;}
.field.has-error input,.field.has-error textarea{border-color:var(--red-500);box-shadow:0 0 0 1px var(--red-500);}
.field-error{color:var(--red-500);font-size:.75rem;margin-top:.3rem;}
.contact-form{display:flex;flex-direction:column;gap:1rem;flex-grow:1;}
.spinner{width:1rem;height:1rem;border:2px solid rgba(255,255,255,.6);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}
.form-success{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem 1.5rem;background:rgba(239,246,255,.5);border:1px solid #dbeafe;border-radius:var(--radius);}
.form-success-icon{width:4rem;height:4rem;background:#dbeafe;color:var(--primary);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;box-shadow:var(--shadow-sm);}
.form-success-icon svg{width:2.5rem;height:2.5rem;}
.form-success h3{font-size:1.25rem;margin-bottom:.5rem;}
.form-success p{color:var(--slate-600);max-width:22rem;font-size:.9rem;}
.form-success button{margin-top:1.5rem;}
[hidden]{display:none !important;}

.billing-card{background:var(--white);padding:1.75rem;border-radius:var(--radius);box-shadow:var(--shadow-sm);border:1px solid var(--slate-100);}
@media(min-width:768px){.billing-card{padding:2rem;}}
.billing-head{display:flex;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--slate-100);}
.billing-head svg{width:1.25rem;height:1.25rem;color:var(--slate-400);margin-right:.75rem;flex-shrink:0;}
.billing-head h3{font-size:1rem;text-transform:uppercase;letter-spacing:.03em;}
.billing-grid{display:grid;gap:2rem;}
@media(min-width:1024px){.billing-grid{grid-template-columns:1.65fr 1fr;}}
.billing-fields{display:grid;grid-template-columns:1fr;gap:1rem 2rem;font-size:.9rem;}
@media(min-width:640px){.billing-fields{grid-template-columns:1fr 1fr;}}
.billing-fields .lbl{display:block;font-size:.7rem;text-transform:uppercase;color:var(--slate-400);font-weight:700;letter-spacing:.05em;margin-bottom:.1rem;}
.billing-fields .val{color:var(--slate-900);font-weight:700;}
.billing-fields .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;}
.billing-fields .full{grid-column:1/-1;}
.billing-note{font-size:.75rem;color:var(--slate-400);background:var(--slate-50);padding:.75rem;border-radius:var(--radius);border:1px solid var(--slate-100);line-height:1.6;margin-top:.5rem;}
.billing-side{border-left:none;padding-left:0;}
@media(min-width:1024px){.billing-side{border-left:1px solid var(--slate-100);padding-left:2rem;}}
.billing-side-head{display:flex;align-items:center;margin-bottom:1rem;}
.billing-side-head svg{width:1.25rem;height:1.25rem;color:var(--slate-400);margin-right:.75rem;}
.billing-side-head h4{font-size:.9rem;text-transform:uppercase;letter-spacing:.03em;}
.databox{background:var(--slate-50);padding:1rem;border-radius:var(--radius);border:1px solid var(--slate-100);}
.databox + .databox{margin-top:1rem;}
.databox .lbl{display:block;font-size:.7rem;text-transform:uppercase;color:var(--slate-400);font-weight:700;letter-spacing:.05em;margin-bottom:.35rem;}
.databox .val{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.15rem;font-weight:700;letter-spacing:.1em;color:var(--primary);}
.databox a{display:flex;align-items:center;font-size:.9rem;font-weight:700;color:var(--slate-900);}
.databox a svg{width:1rem;height:1rem;margin-right:.5rem;color:var(--slate-400);}
.databox a:hover{color:var(--primary);}

/* ---------- Utility spacing --------------------------------------------- */
.mt-1{margin-top:.5rem;}
.text-center{text-align:center;}

/* Hover motion matched to the original SOPHIS homepage. */
.hero-actions .btn{transition:background-color .3s cubic-bezier(.4,0,.2,1),border-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);}
.hero-actions .btn-primary:hover{background:#1d4ed8;}
.hero-actions .btn-primary .icon{transition:transform .15s cubic-bezier(.4,0,.2,1);}
.hero-actions .btn-primary:hover .icon{transform:translateX(8px);}
.module-card{transition:transform .3s cubic-bezier(0,0,.2,1),box-shadow .3s cubic-bezier(0,0,.2,1);}
.module-card-bg img{transition:opacity .5s cubic-bezier(.4,0,.2,1),filter .5s cubic-bezier(.4,0,.2,1),transform .5s cubic-bezier(.4,0,.2,1);}
.module-card-bg::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(30,58,138,.1),rgba(255,255,255,.35),transparent);opacity:0;transition:opacity .3s cubic-bezier(.4,0,.2,1);}
.module-card-bg::after{transition:opacity .3s cubic-bezier(.4,0,.2,1);}
.module-card:hover .module-card-bg::before{opacity:1;}
.module-card:hover .module-card-bg::after{opacity:0;}
.module-card-body{transition:transform .3s cubic-bezier(.4,0,.2,1);}
.module-card:hover .module-card-body{transform:translateY(-4px);}
.module-card .module-icon{transition:transform .3s cubic-bezier(.4,0,.2,1);}
.module-card:hover .module-icon{transform:scale(1.05);}
.module-card h3,.module-card p,.module-card-foot > span:first-child{transition:color .15s cubic-bezier(.4,0,.2,1);}
.module-card:hover p{color:var(--slate-700);}
/* The footer label rule must not override the white arrow. */
.module-card:hover .module-card-arrow{color:var(--white);}
@media(prefers-reduced-motion:reduce){
  .hero-actions .btn-primary:hover .icon,.module-card:hover,.module-card:hover .module-card-body,.module-card:hover .module-icon,.module-card:hover .module-card-bg img,.module-card:hover .module-card-arrow{transform:none;}
}

/* Integration explorer, matched to the supplied reference. */
.hub-intro{text-align:center;max-width:64rem;margin:0 auto 2rem;}
.hub-intro h1{font-size:clamp(2rem,3.8vw,3rem);line-height:1.15;letter-spacing:-.025em;color:#252b5d;margin:1rem 0 1.25rem;}
.hub-intro p{font-size:1.125rem;color:var(--slate-600);line-height:1.65;}
.hub-selector-label{text-align:center;font-size:.875rem;text-transform:uppercase;letter-spacing:.2em;color:var(--slate-400);}
.tab-list{justify-content:center;max-width:64rem;margin:.75rem auto 2rem;gap:.5rem;}
.tab-list .tab-btn{padding:.5rem .875rem;font-size:.875rem;line-height:1.25rem;font-weight:700;}
.tab-btn.is-active{background:#1f326f;border-color:#1f326f;box-shadow:none;}
.active-module-card{display:block;max-width:48rem;margin:0 auto 2.5rem;padding:2rem;background:linear-gradient(135deg,#28316d,#0066cc);border:0;color:white;box-shadow:0 10px 15px -3px #1e3a8a33;}
.active-module-info{align-items:flex-start;}
.active-module-info .module-icon{width:3.5rem;height:3.5rem;flex-shrink:0;background:#ffffff1f;border:1px solid #ffffff26;color:white;margin:0;}
.active-module-info .module-icon svg{width:1.75rem;height:1.75rem;}
.active-module-label{display:block;text-transform:uppercase;font-size:.875rem;font-weight:900;letter-spacing:.06em;color:#dbeafe;margin-bottom:1rem;}
.active-module-info h3{font-size:clamp(1.5rem,2.4vw,1.875rem);line-height:1.25;margin-bottom:1rem;}
.active-module-info p{color:#fffffff2;font-size:1.125rem;font-weight:600;line-height:1.6;max-width:none;margin:0;}
.active-module-link{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.25rem;font-size:.875rem;font-weight:700;}
.active-module-link .icon,.conn-card-link .icon{transition:transform .15s ease;}
.active-module-card:hover .active-module-link .icon,.conn-card:hover .conn-card-link .icon{transform:translateX(4px);}
.connections-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.25rem;}
.connections-heading h3{font-size:1.5rem;color:#252b5d;}
.connections-heading p{font-size:.875rem;color:var(--slate-500);margin-top:.25rem;}
.conn-legend{flex-shrink:0;flex-wrap:wrap;gap:.5rem;margin:0;}
.conn-badge{font-size:.75rem;white-space:nowrap;}
.conn-legend .conn-badge{padding:.375rem .75rem;}
.conn-badge.is-direct{background:var(--primary);color:white;border-color:var(--primary);}
.conn-card.is-direct{border-color:var(--primary);background:#eff6ffcc;box-shadow:0 0 0 1px #0066cc33,0 4px 6px #1e3a8a1a;}
.conn-card.is-direct::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:var(--primary);z-index:2;}
.conn-card-photo{position:absolute;inset:0;opacity:.03;transition:opacity .3s ease;pointer-events:none;}
.conn-card.is-direct .conn-card-photo{opacity:.08;}
.conn-card-photo img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .5s ease,transform .5s ease;}
.conn-card-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,#fff, #ffffffb3 50%,#ffffff59);}
.conn-card:hover .conn-card-photo{opacity:1;}
.conn-card:hover .conn-card-photo img{filter:grayscale(0);transform:scale(1.03);}
.conn-card > :not(.conn-card-photo){position:relative;z-index:1;}
.conn-card-icon{flex-shrink:0;}
.conn-card h4{font-size:1.25rem;color:#252b5d;transition:color .15s ease;}
.conn-card:hover h4{color:var(--primary);}
.conn-card p{font-size:.875rem;color:var(--slate-600);margin-bottom:1rem;}
.conn-card-hint{font-size:.875rem;font-style:normal;font-weight:600;color:#252b5d;margin:0 0 1.25rem;}
.conn-card-link{display:inline-flex;align-items:center;gap:.375rem;margin-top:auto;font-size:.875rem;font-weight:900;text-transform:uppercase;color:var(--primary);}
.hub-footer-note{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.5rem;background:white;border:1px solid var(--slate-200);border-radius:var(--radius);text-align:left;margin-top:2rem;}
.hub-footer-copy{display:flex;align-items:flex-start;gap:.75rem;}
.hub-footer-icon{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:var(--radius);background:var(--slate-100);color:var(--slate-700);}
.hub-footer-icon .icon{width:1.25rem;height:1.25rem;}
.hub-footer-note h3{font-size:1.125rem;margin:0 0 .25rem;}
.hub-footer-note p{font-size:.875rem;margin:0;}
.hub-consult{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;flex-shrink:0;padding:.75rem 1.25rem;border-radius:9999px;color:white;background:var(--primary);font-weight:700;transition:background-color .2s ease;}
.hub-consult:hover{background:#1d4ed8;}
@media(max-width:900px){.connections-heading{align-items:flex-start;flex-direction:column;}.hub-footer-note{align-items:flex-start;flex-direction:column;}}
@media(max-width:639px){.hub-card{padding:1.25rem;}.active-module-card{padding:1.25rem;}.active-module-info{gap:.75rem;}.active-module-info .module-icon{width:2.5rem;height:2.5rem;}.active-module-info p{font-size:1rem;}.hub-consult{width:100%;}}

/* Keyboard access and motion preferences */
:focus-visible{outline:3px solid var(--primary);outline-offset:4px;}
.skip-link{position:fixed;top:1rem;left:1rem;z-index:1000;padding:.75rem 1rem;background:white;color:var(--primary);transform:translateY(-200%);}
.skip-link:focus{transform:translateY(0);}
.modal-box{max-height:calc(100dvh - 3rem);overflow-y:auto;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{animation:none!important;transition:none!important;}}

.hero-title{font-size:clamp(1.5rem,4vw,2.5rem);line-height:1.2;letter-spacing:-.03em;margin-bottom:1.5rem;}
