/* 123-it.nl — one stylesheet. Colours from the logo: navy, blue and orange. */
@font-face { font-family: 'Sora'; src: url('/fonts/Sora.woff') format('woff'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3.woff') format('woff'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn.woff') format('woff'); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #0c1f45;
  --navy-2: #163266;
  --blue: #2f6fd0;
  --blue-soft: #eaf1fc;
  --orange: #e8782e;
  --orange-ink: #a8470b;
  --orange-soft: #fff1e6;
  --grad: linear-gradient(135deg, #f39a45 0%, #d95f17 100%);
  --ink: #0c1f45;
  --text: #2a3550;
  --muted: #5b6782;
  --line: #e1e7f0;
  --soft: #f4f7fb;
  --ok: #157f4b;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(12, 31, 69, 0.12);
  --shadow-sm: 0 2px 10px rgba(12, 31, 69, 0.07);
  --font-d: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nl-red: #ae1c28;
  --nl-blue: #21468b;
}
:lang(fa), :lang(ar), :lang(ckb) { --font-d: 'Vazirmatn', Tahoma, sans-serif; --font-b: 'Vazirmatn', Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-b); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-d); color: var(--ink); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
:lang(fa) h1, :lang(ar) h1, :lang(ckb) h1, :lang(fa) h2, :lang(ar) h2, :lang(ckb) h2 { letter-spacing: 0; }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; padding: 8px 12px; z-index: 2000; }
.skip:focus { top: 8px; }
bdi { unicode-bidi: isolate; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: 800 16.5px var(--font-b); text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; white-space: nowrap; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(217, 95, 23, 0.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(217, 95, 23, 0.38); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-light:hover { background: rgba(255, 255, 255, 0.18); }
.btn-lg { min-height: 54px; padding: 13px 28px; font-size: 17.5px; border-radius: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar with the Dutch flag line */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); position: relative; padding-top: 6px; }
.topbar::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(to bottom, var(--nl-red) 0 2px, #fff 2px 4px, var(--nl-blue) 4px 6px); }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 30px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.flag { width: 18px; height: 12px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(12, 31, 69, 0.25); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.logo { display: block; line-height: 0; flex: none; }
.logo img { height: 58px; width: auto; }
.main-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.main-nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.main-nav a:hover { background: var(--soft); }
.main-nav a.active { color: var(--blue); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.langpick { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.langpick select { min-height: 44px; max-width: 170px; padding: 8px 30px 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy);
  font: 700 15px var(--font-b); cursor: pointer; }
[dir='rtl'] .langpick select { padding: 8px 10px 8px 30px; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lang-mobile { display: none; }
.mobile-panel { display: none; position: fixed; inset: 0; top: var(--panel-top, 112px); background: #fff; z-index: 999; overflow-y: auto; padding: 14px 20px 32px; }
.mobile-panel.open { display: block; }
.mobile-panel nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.mobile-panel .sub { padding-inline-start: 16px; font-weight: 600; font-size: 16px; color: var(--text); }
.mobile-panel .btn { width: 100%; margin-top: 16px; }

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% 20%, rgba(47, 111, 208, 0.35), transparent 60%), var(--navy); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.hero .pill { background: rgba(255, 255, 255, 0.1); color: #ffc58f; border: 1px solid rgba(255, 197, 143, 0.4); }
.hero h1 { color: #fff; white-space: nowrap; font-size: clamp(26px, calc(min(560px, 100vw - 40px) / (var(--len, 18) * 0.6)), 60px); }
.hero .lead { color: #d9e2f2; font-size: 19.5px; max-width: 560px; }
.hero .btn-row { margin: 26px 0 22px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.trust li { display: flex; gap: 10px; align-items: center; color: #e6ecf7; font-weight: 600; }
.trust svg { flex: none; color: #ffb36b; }
.quick { background: #fff; color: var(--text); border-radius: 22px; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.quick h2 { font-size: 22px; margin-bottom: 14px; }
.quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.quick a:hover { border-color: var(--blue); background: var(--blue-soft); }
.quick .ico { width: 32px; height: 32px; }

/* Page hero (inner pages) */
.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 54px 0 44px; }
.page-hero .pill { background: var(--orange-soft); color: var(--orange-ink); }
.page-hero h1 { white-space: nowrap; font-size: clamp(26px, calc(min(1000px, 100vw - 40px) / (var(--len, 20) * 0.6)), 52px); }
.page-hero .lead { font-size: 19px; max-width: 780px; }
.page-hero .btn-row { margin-top: 22px; }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-title { text-align: center; margin-bottom: 10px; }
.section-lead { text-align: center; color: var(--muted); max-width: 700px; margin: 0 auto 30px; font-size: 18px; }
.page-body { padding: 44px 20px 64px; }
.block { margin: 0 0 44px; }
.block-text p { max-width: 800px; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card p { color: var(--muted); margin: 0; }
.card-link { text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c8d6ee; }
.card .more { margin-top: auto; padding-top: 14px; color: var(--blue); font-weight: 700; font-size: 15px; }
.ico { width: 48px; height: 48px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 12px; flex: none; }
.ico svg { width: 24px; height: 24px; }
.quick .ico { margin: 0; border-radius: 9px; }
.quick .ico svg { width: 18px; height: 18px; }
.why .card h3::before { content: ''; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--grad); margin-bottom: 12px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 17px var(--font-d); display: grid; place-items: center; }
.steps p { color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 34px; }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink);
  font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.checks-2 { grid-template-columns: repeat(2, 1fr); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 12px 0; }
.faq details p { color: var(--muted); }
.note { background: var(--blue-soft); border-radius: 12px; padding: 14px 18px; color: var(--navy); font-weight: 600; }

.work-card .type { display: inline-block; font-size: 13px; font-weight: 700; color: var(--orange-ink); background: var(--orange-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; align-self: flex-start; }
.work-card .site { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 15px; }

.cta-box { background: radial-gradient(700px 300px at 90% 0%, rgba(47, 111, 208, 0.45), transparent 60%), var(--navy); color: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #d9e2f2; margin: 0; }
.cta-box .btn-row { justify-content: flex-end; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 700; color: var(--ink); font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 400 16px var(--font-b); color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 111, 208, 0.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hidden { display: none; }
.direct { display: grid; gap: 12px; }
.direct a, .direct div { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink); text-decoration: none; font-weight: 700; }
.direct a:hover { border-color: var(--blue); }
.direct small { display: block; color: var(--muted); font-weight: 400; }
.direct .ico { margin: 0; width: 42px; height: 42px; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d3e6; padding: 56px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; line-height: 0; }
.footer-logo img { height: 92px; width: auto; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d5ddec; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 36px; padding-top: 18px; font-size: 14px; color: #a7b5cf; }
.footer-legal p { margin: 0 0 4px; }
.footer-legal bdi { white-space: nowrap; }

/* Not found */
.notfound { text-align: center; padding: 90px 20px; }

/* Responsive */
@media (max-width: 1160px) {
  .main-nav, .header-actions { display: none; }
  .burger { display: flex; }
  .lang-mobile { display: flex; margin-inline-start: auto; }
  .lang-mobile select { max-width: 140px; min-height: 42px; font-size: 14px; padding: 6px 26px 6px 10px; }
  [dir='rtl'] .lang-mobile select { padding: 6px 10px 6px 26px; }
}
@media (max-width: 1020px) {
  .hero-grid, .contact-grid, .cta-box { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box .btn-row { justify-content: flex-start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-row { min-height: 66px; gap: 10px; }
  .logo img { height: 46px; }
  .hero { padding: 30px 0 40px; }
  .hero h1 { font-size: clamp(22px, calc((100vw - 32px) / (var(--len, 18) * 0.62)), 42px); }
  .hero .lead { font-size: 17px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .quick { padding: 18px; }
  .quick ul { grid-template-columns: 1fr; }
  .page-hero { padding: 32px 0 28px; }
  .page-hero h1 { white-space: normal; text-wrap: balance; font-size: clamp(26px, 7.6vw, 34px); }
  .page-hero.one-line h1 { white-space: nowrap; font-size: clamp(20px, calc((100vw - 32px) / (var(--len, 20) * 0.64)), 34px); }
  .page-hero .lead { font-size: 17px; }
  .page-hero .btn-row .btn { flex: 1 1 100%; }
  .section { padding: 44px 0; }
  .cards-4, .cards-3, .checks-2, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 26px 22px; border-radius: 20px; }
  .cta-box .btn-row .btn { flex: 1 1 100%; }
  .form { padding: 20px; }
  .btn { white-space: normal; text-align: center; }
  .topbar .wrap { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
