/* DKS Factoring – multi-page static site (light theme)
   - No external libraries required
   - Animations via CSS + IntersectionObserver (see main.js)
*/

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f6f7fb;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.12);
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --shadow-2:0 18px 45px rgba(2,6,23,.12);
  --accent:#2563eb;
  --accent-2:#06b6d4;
  --accent-3:#7c3aed;
  --good:#16a34a;
  --warn:#f59e0b;
  --radius:18px;
  --radius-lg:26px;
  --max:1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(6,182,212,.10), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(124,58,237,.08), transparent 55%),
    var(--bg);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}

.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.section{padding:80px 0}
.section.sm{padding:56px 0}
.section.top{padding-top:110px}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;
  background:rgba(37,99,235,.10);
  color:#1d4ed8;
  border:1px solid rgba(37,99,235,.18);
  font-weight:700;
  letter-spacing:.02em;
  font-size:13px;
}
.badge .dot{width:8px;height:8px;border-radius:99px;background:var(--accent);box-shadow:0 0 0 6px rgba(37,99,235,.18)}

.h1{font-size:clamp(34px, 5vw, 58px);line-height:1.05;margin:0}
.h2{font-size:clamp(26px, 3.2vw, 38px);line-height:1.15;margin:0}
.h3{font-size:22px;line-height:1.25;margin:0}
.p{color:var(--muted);font-size:16px;margin:0}
.kicker{color:var(--muted);font-weight:650;letter-spacing:.08em;text-transform:uppercase;font-size:12px}

.grid{display:grid;gap:18px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width: 920px){
  .grid.two,.grid.three,.grid.four{grid-template-columns:1fr}
}

.card{
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  position:relative;
  overflow:hidden;
}
.card.hover:hover{transform:translateY(-4px);box-shadow:var(--shadow-2)}
.card.hover{transition:transform .22s ease, box-shadow .22s ease}
.card .icon{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(37,99,235,.14), rgba(6,182,212,.12));
  border:1px solid rgba(37,99,235,.16);
  margin-bottom:14px;
}
.card .meta{color:var(--muted);font-size:14px;margin-top:8px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:14px;
  border:1px solid rgba(15,23,42,.14);
  background:rgba(255,255,255,.70);
  box-shadow:0 10px 25px rgba(2,6,23,.08);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  font-weight:700;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 16px 36px rgba(2,6,23,.12);border-color:rgba(37,99,235,.25)}
.btn.primary{
  border-color:rgba(37,99,235,.25);
  background:linear-gradient(135deg, rgba(37,99,235,.95), rgba(6,182,212,.88));
  color:white;
}
.btn.primary:hover{transform:translateY(-2px)}
.btn.ghost{background:transparent;border-color:rgba(15,23,42,.18);box-shadow:none}
.btn.small{padding:10px 12px;border-radius:12px;font-size:14px}

header.site-header{
  position:fixed;top:0;left:0;right:0;z-index:30;
  background:rgba(255,255,255,.70);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(15,23,42,.10);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:74px;
}
.brand{
  display:flex;align-items:center;gap:12px;font-weight:850;letter-spacing:.02em;
}
.brand img{width:40px;height:40px}
.brand span{font-size:16px}
nav.site-nav{display:flex;align-items:center;gap:18px}
nav.site-nav a{
  padding:10px 10px;border-radius:12px;
  color:var(--muted);font-weight:750;
  transition:background .18s ease, color .18s ease;
}
nav.site-nav a:hover{background:rgba(37,99,235,.08);color:#1d4ed8}
nav.site-nav a.active{background:rgba(37,99,235,.10);color:#1d4ed8}

.header-actions{display:flex;align-items:center;gap:10px}
.lang-toggle{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:14px;
  border:1px solid rgba(15,23,42,.14);
  background:rgba(255,255,255,.65);
  cursor:pointer;
  font-weight:800;
}
.lang-toggle .pill{
  padding:4px 8px;border-radius:999px;
  background:rgba(15,23,42,.06);
  color:var(--muted);
  font-size:12px;font-weight:900;
}
.lang-toggle .pill.on{background:rgba(37,99,235,.12);color:#1d4ed8}

.mobile-toggle{display:none}
@media (max-width: 1020px){
  nav.site-nav{display:none}
  .mobile-toggle{display:inline-flex}
  .header-actions{gap:8px}
}

.mobile-drawer{
  position:fixed;inset:0;z-index:50;
  background:rgba(15,23,42,.55);
  backdrop-filter: blur(2px);
  display:none;
}
.mobile-drawer.open{display:block}
.drawer-panel{
  position:absolute;top:0;right:0;height:100%;width:min(360px, 92vw);
  background:rgba(255,255,255,.92);
  border-left:1px solid rgba(15,23,42,.12);
  box-shadow:var(--shadow-2);
  padding:18px;
}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.drawer-nav{display:flex;flex-direction:column;gap:6px}
.drawer-nav a{
  padding:12px 12px;border-radius:14px;
  color:var(--text);font-weight:800;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.70);
}
.drawer-nav a:hover{border-color:rgba(37,99,235,.24);background:rgba(37,99,235,.06)}

.hero{
  padding-top:96px;
  position:relative;
  overflow:hidden;
}
.hero .hero-wrap{
  display:grid;grid-template-columns: 1.2fr .8fr;gap:28px;align-items:center;
  min-height:640px;
}
@media (max-width: 920px){
  .hero .hero-wrap{grid-template-columns:1fr;min-height:auto;padding-bottom:16px}
}
.hero-media{
  position:absolute;inset:0;z-index:-2;
}
.hero-media img{
  width:100%;height:100%;object-fit:cover;
  transform:scale(1.02);
}
.hero-overlay{
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg, rgba(15,23,42,.78), rgba(15,23,42,.46), rgba(15,23,42,.25));
}
.hero .panel{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  border-radius:var(--radius-lg);
  padding:26px;
  backdrop-filter: blur(10px);
  box-shadow:0 30px 65px rgba(2,6,23,.35);
  color:white;
}
.hero .panel .p{color:rgba(255,255,255,.82)}
.hero .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.hero .hero-metrics{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}
.metric{
  padding:10px 12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.metric .n{font-weight:900;font-size:16px}
.metric .t{font-size:12px;color:rgba(255,255,255,.75);font-weight:700;letter-spacing:.04em;text-transform:uppercase}

.hero-side{
  display:flex;flex-direction:column;gap:14px;
}
.hero-side .side-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow:0 30px 65px rgba(2,6,23,.25);
}
.hero-side .side-card img{height:220px;width:100%;object-fit:cover}
.hero-side .side-card .body{padding:16px;color:white}
.hero-side .side-card .body .p{color:rgba(255,255,255,.78)}

.split{
  display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center;
}
@media (max-width: 920px){.split{grid-template-columns:1fr}}
.figure{
  border-radius:var(--radius-lg);
  overflow:hidden;border:1px solid rgba(15,23,42,.10);
  box-shadow:var(--shadow-2);
}
.figure img{width:100%;height:100%;object-fit:cover}
.figure .cap{
  padding:12px 14px;background:rgba(255,255,255,.85);
  border-top:1px solid rgba(15,23,42,.08);
  color:var(--muted);font-weight:650;font-size:13px
}

.steps{
  counter-reset:step;
  display:grid;gap:12px;
}
.step{
  display:flex;gap:14px;align-items:flex-start;
  padding:16px;border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.72);
  box-shadow:var(--shadow);
}
.step::before{
  counter-increment:step;
  content: counter(step);
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  font-weight:900;color:#1d4ed8;
  background:rgba(37,99,235,.12);
  border:1px solid rgba(37,99,235,.18);
  flex:0 0 auto;
}
.step .p{margin-top:6px}

.banner{
  border-radius:var(--radius-lg);
  border:1px solid rgba(37,99,235,.18);
  background:linear-gradient(135deg, rgba(37,99,235,.10), rgba(6,182,212,.08), rgba(124,58,237,.06));
  padding:22px;
  box-shadow:var(--shadow);
  display:flex;gap:18px;align-items:center;justify-content:space-between;
  flex-wrap:wrap;
}
.banner .left{display:flex;flex-direction:column;gap:6px}
.banner .right{display:flex;gap:10px;flex-wrap:wrap}

footer.site-footer{
  padding:40px 0 26px;
  border-top:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
}
.footer-grid{
  display:grid;grid-template-columns: 1.2fr .8fr .8fr;gap:16px;
}
@media(max-width: 920px){.footer-grid{grid-template-columns:1fr}}
.footer-title{font-weight:900;margin:0 0 10px}
.footer-links{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-weight:650}
.footer-links a:hover{color:#1d4ed8}
.smallprint{
  margin-top:18px;color:var(--muted);font-size:13px;
  display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;
  border-top:1px solid rgba(15,23,42,.08);padding-top:16px;
}

.form{
  display:grid;gap:12px;
}
.field{display:grid;gap:6px}
.label{font-weight:800}
.input, .textarea{
  padding:12px 12px;border-radius:14px;
  border:1px solid rgba(15,23,42,.14);
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 25px rgba(2,6,23,.06);
  outline:none;
}
.textarea{min-height:140px;resize:vertical}
.input:focus,.textarea:focus{border-color:rgba(37,99,235,.36);box-shadow:0 18px 38px rgba(2,6,23,.10)}

.notice{
  padding:14px 14px;border-radius:16px;
  border:1px solid rgba(22,163,74,.20);
  background:rgba(22,163,74,.08);
  color:#166534;
  font-weight:700;
  display:none;
}
.notice.show{display:block}

.breadcrumbs{
  padding-top:92px;
  color:var(--muted);
  font-weight:650;
  font-size:14px;
}
.breadcrumbs a{color:inherit}
.breadcrumbs a:hover{color:#1d4ed8}

.page-hero{
  padding:26px 0 0;
}
.page-hero .wrap{
  border-radius:var(--radius-lg);
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.70);
  box-shadow:var(--shadow);
  padding:24px;
  display:flex;gap:18px;justify-content:space-between;align-items:flex-end;
  flex-wrap:wrap;
}
.page-hero .wrap .p{max-width:70ch}

.reveal{
  opacity:0;
  transform: translateY(14px) scale(.99);
  transition: opacity .65s ease, transform .65s ease;
  will-change: transform, opacity;
}
.reveal.in{
  opacity:1;
  transform: translateY(0) scale(1);
}
.reveal.delay-1{transition-delay:.08s}
.reveal.delay-2{transition-delay:.16s}
.reveal.delay-3{transition-delay:.24s}

.cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;
  max-width:var(--max);
  margin:0 auto;
  z-index:60;
  display:none;
}
.cookie-banner.show{display:block}
.cookie-card{
  border-radius:var(--radius-lg);
  border:1px solid rgba(15,23,42,.14);
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow:var(--shadow-2);
  padding:18px;
  display:flex;gap:14px;align-items:flex-start;justify-content:space-between;
  flex-wrap:wrap;
}
.cookie-card .text{max-width:72ch}
.cookie-card .text p{margin:0;color:var(--muted)}
.cookie-card .actions{display:flex;gap:10px;flex-wrap:wrap}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.12);
  box-shadow:var(--shadow);
  background:rgba(255,255,255,.78);
}
.table th,.table td{padding:12px 12px;border-bottom:1px solid rgba(15,23,42,.08);text-align:left}
.table th{background:rgba(15,23,42,.03);font-weight:900}
.table tr:last-child td{border-bottom:none}

hr.sep{border:none;border-top:1px solid rgba(15,23,42,.10);margin:26px 0}

