:root {
  --navy-950: #071c2c;
  --navy-900: #0b283d;
  --navy-800: #123a50;
  --teal-500: #1b8a82;
  --teal-100: #dff3ef;
  --gold-500: #d5a437;
  --gold-300: #efd483;
  --ivory: #f8f5ed;
  --white: #fff;
  --ink: #17303d;
  --muted: #687982;
  --line: #dfe5e6;
  --shadow: 0 18px 55px rgba(7, 28, 44, .12);
  --radius: 24px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold-500); color: var(--navy-950); border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(18,58,80,.08); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand-logo { width: 78px; height: 48px; flex: 0 0 78px; padding: 3px; object-fit: contain; background: var(--white); border-radius: 9px; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { color: var(--navy-950); font-size: 15px; letter-spacing: .02em; }
.brand-copy span { color: var(--teal-500); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin-top: 5px; }
.nav-menu { display: flex; align-items: center; gap: 5px; }
.nav-menu a { padding: 10px 13px; color: #435963; font-size: 14px; font-weight: 700; border-radius: 10px; }
.nav-menu a:hover, .nav-menu a.active { color: var(--navy-950); background: var(--teal-100); }
.nav-menu a[href="portal/document_management.php"] { color: var(--navy-950); border: 1px solid var(--gold-500); }
.nav-menu a[href="portal/document_management.php"]::before { content: "↗"; margin-inline-end: 6px; color: var(--gold-500); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-switcher { display: inline-flex; align-items: center; padding: 3px; direction: ltr; background: #f3f7f7; border: 1px solid var(--line); border-radius: 11px; }
.language-switcher button { min-width: 43px; height: 34px; padding: 0 8px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 900; }
.language-switcher button:hover { color: var(--navy-950); background: var(--white); }
.language-switcher button.active { color: var(--white); background: var(--navy-900); box-shadow: 0 4px 12px rgba(7,28,44,.18); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; color: var(--navy-900); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; transition: .25s; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy-950); background: var(--gold-500); box-shadow: 0 10px 25px rgba(213,164,55,.25); }
.btn-primary:hover { background: #e1b347; }
.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.btn-secondary:hover { background: rgba(255,255,255,.14); }
.btn-dark { color: var(--white); background: var(--navy-900); }
.btn svg { width: 18px; height: 18px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-500); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
h1, h2, h3 { margin: 0; color: var(--navy-950); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(42px, 6.3vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: 21px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #59707b; }
.section { padding: 104px 0; }
.section-soft { background: var(--ivory); }
.section-dark { background: var(--navy-950); color: rgba(255,255,255,.76); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading h2 { margin-top: 13px; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }

.hero { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; background: var(--navy-950); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 74% 30%, rgba(27,138,130,.32), transparent 30%), linear-gradient(120deg, rgba(7,28,44,.2), rgba(7,28,44,.9)); }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; inset-inline-end: -120px; top: 70px; opacity: .32; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 28px, rgba(239,212,131,.16) 29px 31px); border-radius: 50%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; padding: 90px 0; }
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: var(--gold-300); }
.hero h1 { color: var(--white); margin: 20px 0 24px; }
.hero h1 span { color: var(--gold-300); }
.hero .lead { color: rgba(255,255,255,.72); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row i { width: 21px; height: 21px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-500); border-radius: 50%; font-style: normal; font-size: 12px; }
.hero-panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-panel::before { content: ""; position: absolute; inset: 16% 12%; background: var(--teal-500); filter: blur(70px); opacity: .25; }
.feature-tile { position: relative; min-height: 190px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; backdrop-filter: blur(12px); }
.feature-tile:nth-child(2) { transform: translateY(28px); }
.feature-tile:nth-child(3) { transform: translateY(-4px); }
.feature-tile:nth-child(4) { transform: translateY(24px); background: var(--gold-500); color: var(--navy-950); border-color: transparent; }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.12); color: var(--gold-300); }
.feature-tile:nth-child(4) .feature-icon { background: rgba(7,28,44,.11); color: var(--navy-950); }
.feature-icon svg { width: 27px; height: 27px; }
.feature-tile strong { font-size: 17px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; padding: 34px; min-height: 360px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.service-card::after { content: ""; position: absolute; width: 150px; height: 150px; inset-inline-end: -70px; top: -70px; border-radius: 50%; background: var(--teal-100); }
.service-card .number { color: var(--gold-500); font-weight: 900; font-size: 13px; letter-spacing: .12em; }
.service-card .card-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 27px 0 24px; color: var(--teal-500); background: var(--teal-100); border-radius: 18px; }
.service-card .card-icon svg { width: 31px; height: 31px; }
.service-card p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--navy-900); font-weight: 900; }
.text-link::after { content: "→"; color: var(--gold-500); font-size: 20px; transition: transform .2s; }
[dir="rtl"] .text-link::after { content: "←"; }
.text-link:hover::after { transform: translateX(4px); }
[dir="rtl"] .text-link:hover::after { transform: translateX(-4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.visual-card { position: relative; min-height: 520px; border-radius: 34px; overflow: hidden; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow); }
.visual-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(30deg, transparent 49%, rgba(255,255,255,.05) 50%, transparent 51%), linear-gradient(150deg, transparent 49%, rgba(255,255,255,.05) 50%, transparent 51%); background-size: 62px 62px; }
.visual-core { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 245px; height: 245px; display: grid; place-items: center; text-align: center; border: 1px solid rgba(239,212,131,.25); border-radius: 50%; background: rgba(255,255,255,.06); color: var(--white); }
.visual-core::before, .visual-core::after { content: ""; position: absolute; border: 1px solid rgba(239,212,131,.14); border-radius: 50%; }
.visual-core::before { inset: -44px; }
.visual-core::after { inset: -90px; }
.visual-core strong { display: block; color: var(--gold-300); font-size: 64px; line-height: 1; }
.visual-core span { display: block; max-width: 150px; font-size: 14px; font-weight: 700; }
.floating-label { position: absolute; z-index: 2; padding: 11px 15px; border-radius: 12px; background: var(--white); box-shadow: 0 10px 25px rgba(0,0,0,.18); color: var(--navy-900); font-size: 13px; font-weight: 800; }
.floating-label.one { top: 18%; inset-inline-start: 8%; }
.floating-label.two { bottom: 16%; inset-inline-end: 8%; }
.check-list { display: grid; gap: 17px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 27px 1fr; gap: 12px; align-items: start; }
.check-list i { width: 26px; height: 26px; display: grid; place-items: center; color: var(--white); background: var(--teal-500); border-radius: 8px; font-style: normal; font-size: 13px; }
.check-list strong { display: block; color: var(--navy-950); }
.check-list span { color: var(--muted); font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; }
.stat { padding: 34px; text-align: center; border-inline-end: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-inline-end: 0; }
.stat strong { display: block; color: var(--gold-300); font-size: 38px; line-height: 1.2; }
.stat span { color: rgba(255,255,255,.62); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-item { position: relative; padding-top: 23px; border-top: 2px solid var(--line); }
.process-item::before { content: ""; position: absolute; width: 11px; height: 11px; top: -6px; inset-inline-start: 0; border-radius: 50%; background: var(--gold-500); }
.process-item .step { color: var(--teal-500); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.process-item h3 { margin: 8px 0 10px; }
.process-item p { color: var(--muted); font-size: 14px; }

.cta { position: relative; overflow: hidden; margin: 0 auto 104px; width: var(--container); padding: 58px 64px; display: flex; align-items: center; justify-content: space-between; gap: 36px; border-radius: 30px; background: var(--teal-500); color: var(--white); }
.cta::after { content: ""; position: absolute; width: 280px; height: 280px; inset-inline-end: -70px; top: -130px; border: 45px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta h2 { color: var(--white); font-size: clamp(30px, 4vw, 44px); }
.cta p { margin: 10px 0 0; color: rgba(255,255,255,.78); }
.cta .btn { position: relative; z-index: 2; flex: 0 0 auto; }

.page-hero { padding: 110px 0 86px; background: var(--navy-950); color: var(--white); overflow: hidden; position: relative; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; top: -260px; inset-inline-end: -100px; border: 70px solid rgba(27,138,130,.16); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 850px; margin: 17px 0 21px; color: var(--white); font-size: clamp(42px, 5.5vw, 66px); }
.page-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.7); font-size: 19px; }
.breadcrumb { margin-bottom: 20px; color: rgba(255,255,255,.54); font-size: 13px; font-weight: 700; }
.breadcrumb span { color: var(--gold-300); }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.value-card .mini-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 12px; color: var(--teal-500); background: var(--teal-100); font-weight: 900; }
.value-card p { color: var(--muted); }
.detail-service { display: grid; grid-template-columns: 90px 1fr; gap: 25px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.detail-service:last-child { border-bottom: 0; }
.detail-service .large-icon { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 20px; background: var(--teal-100); color: var(--teal-500); }
.detail-service .large-icon svg { width: 38px; height: 38px; }
.detail-service p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.tag { padding: 6px 10px; border-radius: 999px; color: var(--navy-800); background: var(--ivory); font-size: 12px; font-weight: 800; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: start; }
.contact-panel { padding: 38px; border-radius: 24px; color: var(--white); background: var(--navy-950); }
.contact-panel h2 { color: var(--white); font-size: 34px; }
.contact-panel > p { color: rgba(255,255,255,.67); }
.contact-item { display: grid; grid-template-columns: 45px 1fr; gap: 14px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.11); }
.contact-item:first-of-type { margin-top: 25px; }
.contact-item i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--gold-300); font-style: normal; }
.contact-item small { display: block; color: rgba(255,255,255,.52); }
.contact-item strong { display: block; }
.form-card { padding: 40px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-top: 27px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fbfcfc; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(27,138,130,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-status { min-height: 25px; margin: 12px 0 0; color: var(--teal-500); font-weight: 700; }

.site-footer { padding: 70px 0 25px; color: rgba(255,255,255,.63); background: #051620; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 50px; }
.footer-brand p { max-width: 360px; }
.site-footer .brand-copy strong { color: var(--white); }
.site-footer .brand-logo { width: 92px; height: 58px; flex-basis: 92px; }
.footer-title { margin: 5px 0 18px; color: var(--white); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--gold-300); }
.footer-note { margin-top: 55px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-menu { position: fixed; inset: 78px 0 auto; padding: 18px 20px 25px; display: none; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(7,28,44,.08); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px; }
  .nav-actions .btn { display: none; }
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-panel { max-width: 600px; }
  .service-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1160px); --radius: 19px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy span { font-size: 9px; }
  .brand-logo { width: 62px; height: 43px; flex-basis: 62px; }
  .nav-wrap { min-height: 70px; gap: 9px; }
  .language-switcher button { min-width: 37px; padding: 0 6px; }
  .nav-menu { inset-block-start: 70px; }
  .section { padding: 76px 0; }
  .hero-grid { padding: 70px 0 95px; gap: 50px; }
  .hero-panel { gap: 10px; }
  .feature-tile { min-height: 155px; padding: 19px; }
  .feature-tile strong { font-size: 14px; }
  .feature-icon { width: 42px; height: 42px; }
  .service-grid, .values-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .service-card { min-height: 325px; }
  .split { gap: 45px; }
  .visual-card { min-height: 420px; }
  .visual-core { width: 190px; height: 190px; }
  .visual-core::before { inset: -32px; }
  .visual-core::after { inset: -63px; }
  .stats, .process-grid { grid-template-columns: 1fr; }
  .stat { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat:last-child { border-bottom: 0; }
  .process-item { padding-bottom: 10px; }
  .cta { padding: 40px 27px; flex-direction: column; align-items: flex-start; }
  .detail-service { grid-template-columns: 1fr; }
  .contact-panel, .form-card { padding: 28px 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-note { flex-direction: column; }
}

@media (max-width: 420px) {
  .site-header .brand-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
