/* JURIMEK: classic corporate layout. Colours from the JURIMEK logo palette (navy #0f193a + gold #c3996b). */
:root {
  --primary: #0f193a;
  --primary-dark: #1c2a55;
  --primary-light: #ecedf3;
  --gold: #c3996b;
  --gold-text: #86683f;
  --bg: #ffffff;
  --grey: #f4f6f9;
  --border: #dde3ea;
  --border-input: #7d8794;
  --text: #2b2f36;
  --text-muted: #5a6270;
  --footer: #0b1430;
  --footer-text: #b8bfcc;
  --danger: #b3261e;
  --success: #1f7a4d;
  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --arabic: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  --wrap: 1170px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.75 var(--sans); }
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.3; color: var(--text); }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
[lang="ar"] { font-family: var(--arabic); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 2px solid var(--primary); border-radius: 3px; background: var(--primary); color: #fff; font: 700 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn .icon { width: 17px; height: 17px; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--primary-light); border-color: var(--primary-light); color: var(--primary-dark); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-block { width: 100%; margin-top: 10px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* header */
.header { background: var(--bg); position: relative; z-index: 20; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary); }
.logo-mark { width: 56px; height: 56px; flex: none; }
.logo-text strong { display: block; font: 700 26px/1 var(--sans); letter-spacing: .08em; color: var(--primary-dark); }
.logo-text small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.2; letter-spacing: .04em; color: var(--gold-text); font-weight: 600; text-transform: uppercase; }
.header-contact { display: flex; gap: 28px; }
.header-contact li { display: flex; gap: 10px; align-items: center; }
.header-contact .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; border: 1px solid var(--border); color: var(--primary); }
.header-contact span { display: block; font-size: 12px; line-height: 1.3; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.header-contact a, .header-contact strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--text); text-decoration: none; }
.header-contact a:hover { color: var(--primary); }
.nav-toggle { display: none; background: var(--primary); border: 0; border-radius: 3px; width: 46px; height: 46px; align-items: center; justify-content: center; color: #fff; cursor: pointer; }
.navbar { background: var(--primary); border-bottom: 3px solid var(--gold); }
.navbar ul { display: flex; flex-wrap: wrap; }
.navbar a { display: block; padding: 16px 20px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.navbar a:hover { background: var(--primary-dark); color: #fff; }
.navbar a[aria-current="page"] { background: var(--primary-dark); box-shadow: inset 0 -3px 0 var(--gold); }

/* slider */
.slider { position: relative; height: 460px; overflow: hidden; background: var(--primary-dark); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity .8s ease; background: linear-gradient(135deg, #0b1430 0%, var(--primary) 55%, var(--primary-dark) 100%); background-size: cover; background-position: center; }
.slide:not(.has-image)::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.slide.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,45,.35), rgba(10,25,45,.65)); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide-caption { position: relative; max-width: 820px; padding: 0 70px; color: #fff; }
.slide-eyebrow { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.55); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.slide-title { font-size: 40px; line-height: 1.2; font-weight: 700; margin-bottom: 28px; text-wrap: balance; }
[lang="ar"] .slide-eyebrow { letter-spacing: 0; font-size: 15px; }
[lang="ar"] .slide-title { font-size: 36px; line-height: 1.6; }
.slider-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.slider-arrow:hover { background: rgba(255,255,255,.32); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dot.is-active { background: #fff; }

/* sections */
.section { padding: 64px 0; }
.section-grey { background: var(--grey); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head p { color: var(--text-muted); }
.section-title { position: relative; font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary-dark); padding-bottom: 14px; margin-bottom: 18px; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 60px; height: 3px; margin-left: -30px; background: var(--gold); }
#plan.section-title { text-align: left; }
#plan.section-title::after { left: 0; margin-left: 0; }
.intro { font-size: 16px; color: var(--text-muted); max-width: 760px; margin-bottom: 32px; }

/* tiles (service list with square thumbnails) */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 40px; }
.tiles-2 { gap: 2px 28px; }
.tile { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.tile:hover .tile-title { color: var(--primary-dark); text-decoration: underline; }
.tile:hover .tile-thumb { background: var(--primary); color: #fff; }
.tile-thumb { display: inline-flex; width: 72px; height: 72px; flex: none; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); border-radius: 2px; transition: background .15s, color .15s; }
.tile-thumb .icon { width: 30px; height: 30px; }
.tile-thumb-lg { width: 88px; height: 88px; }
.tile-thumb-lg .icon { width: 38px; height: 38px; }
.tile-title { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); margin-bottom: 4px; }
.tile-text { display: block; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* three columns */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.col-title { display: flex; gap: 10px; align-items: center; font-size: 19px; font-weight: 700; color: var(--primary-dark); text-transform: uppercase; letter-spacing: .03em; padding-bottom: 12px; border-bottom: 2px solid var(--gold); margin-bottom: 18px; }
.col-title .icon { width: 26px; height: 26px; color: var(--primary); }
.col-list { display: grid; gap: 8px; margin-bottom: 18px; }
.col-list li { display: flex; gap: 8px; align-items: flex-start; }
.col-list .icon { width: 17px; height: 17px; color: var(--gold-text); margin-top: 5px; }
.col-list a { color: var(--text); text-decoration: none; }
.col-list a:hover { color: var(--primary); text-decoration: underline; }

/* colour band */
.band { background: var(--primary); color: #fff; padding: 56px 0; }
.band a { color: #fff; }
.band-title { font-size: 18px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.35); }
.band p { color: #fff; opacity: .95; }
.band-big { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; font-weight: 700; }
.band-big .icon { margin-top: 4px; }
.band-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.band-list { display: grid; gap: 12px; }
.band-list li { display: flex; gap: 10px; align-items: center; }
.band-list a { font-weight: 600; text-decoration: none; }
.band-list a:hover { text-decoration: underline; }

/* CTA */
.cta-band { background: var(--primary-dark); color: #fff; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.cta-in p { margin: 0; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* inner pages */
.titlebar { background: var(--grey); border-bottom: 1px solid var(--border); padding: 34px 0; }
.titlebar h1 { font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--primary-dark); margin-bottom: 6px; }
.crumbs { font-size: 13px; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article h2 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-top: 30px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.article-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 8px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--text); }
.bullets { display: grid; gap: 8px; margin-bottom: 14px; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; background: var(--gold); }
.checklist { display: grid; gap: 16px; margin: 18px 0; }
.checklist li { display: flex; gap: 12px; padding: 16px 18px; background: var(--grey); border-left: 3px solid var(--primary); }
.checklist .icon { color: var(--primary); margin-top: 3px; }
.related-h { margin-top: 40px !important; }
.sidebar { display: grid; gap: 24px; }
.widget { border: 1px solid var(--border); padding: 22px; }
.widget-h { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary-dark); padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 14px; }
.widget-list li { border-bottom: 1px solid var(--border); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a { display: block; padding: 9px 0; font-size: 14px; color: var(--text); text-decoration: none; }
.widget-list a::before { content: "›"; color: var(--gold-text); font-weight: 700; margin-right: 8px; }
.widget-list a:hover, .widget-list a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.widget-contact { background: var(--primary-light); border-color: var(--primary-light); }
.widget-contact p { font-size: 14px; }
.widget-hours { display: flex; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--text-muted); }
.widget-hours .icon { width: 17px; height: 17px; margin-top: 3px; }

/* contact */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.contact-box { background: var(--grey); padding: 26px; border-top: 3px solid var(--primary); }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list .icon { color: var(--primary); margin-top: 4px; }
.form { margin-top: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1px solid var(--border-input); border-radius: 2px; padding: 10px 12px; min-height: 46px; width: 100%; }
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
[aria-invalid="true"] { border-color: var(--danger); }
.check-field { flex-direction: row; align-items: flex-start; gap: 10px; }
.check-field input { width: 20px; min-height: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--primary); }
.check-field label { font-weight: 400; color: var(--text-muted); }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 24px; font-size: 14px; }
.form-status.err { color: var(--danger); }
.form-status.ok { color: var(--success); font-weight: 600; }
.map { border: 1px solid var(--border); margin: 10px 0 16px; }
.map iframe { width: 100%; height: 380px; border: 0; }

/* footer */
.footer { background: var(--footer); color: var(--footer-text); font-size: 14px; }
.footer a { color: var(--footer-text); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 44px; }
.logo-footer { color: #fff; margin-bottom: 16px; }
.logo-footer .logo-mark { color: var(--primary-dark); }
.logo-footer .logo-text strong { color: #fff; }
.logo-footer .logo-text small { color: var(--gold); }
.footer-h { font-size: 15px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-list { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--gold); }
.footer-map { display: inline-flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); }
.footer-map .icon { color: var(--gold); }
.footer-bottom { background: #080f24; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--primary); color: #fff; font: 700 14px/1 var(--sans); text-decoration: none; box-shadow: 0 6px 20px rgba(10,25,45,.3); }
.wa:hover { background: var(--primary-dark); color: #fff; }

/* responsive */
@media (max-width: 1080px) {
  .header-contact li:last-child { display: none; }
  .with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .header-contact { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar { display: none; }
  .navbar.open { display: block; }
  .navbar ul { flex-direction: column; }
  .navbar a { padding: 14px 4px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
  .navbar a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
  .cols3, .contact { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slider { height: 400px; }
  .slide-title { font-size: 30px; }
  [lang="ar"] .slide-title { font-size: 28px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .logo-mark { width: 46px; height: 46px; }
  .logo-text strong { font-size: 22px; }
  .slider { height: 380px; }
  .slide-caption { padding: 0 24px; }
  .slide-title { font-size: 25px; }
  [lang="ar"] .slide-title { font-size: 23px; }
  .slider-arrow { display: none; }
  .section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .field-row, .footer-grid { grid-template-columns: 1fr; }
  .titlebar h1 { font-size: 23px; }
  .article-head { flex-direction: column; }
  .footer-bottom-in { flex-direction: column; }
  .wa span { display: none; }
  .wa { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* JURIMEK logo image */
.logo-img { height: 64px; width: auto; }
.logo-footer .logo-img { height: 58px; }
@media (max-width: 560px) { .logo-img { height: 46px; } }
