/* TSDMS — site styles */
:root {
  --navy-900: #0a1b2d;
  --navy-800: #0f2740;
  --navy-700: #17365a;
  --steel-300: #a9b8c8;
  --line: #dde4ec;
  --bg: #f4f6f9;
  --paper: #ffffff;
  --ink: #122033;
  --muted: #55667a;
  --accent: #c4621c;
  --accent-600: #a5501a;
  --accent-2: #e07b2e;
  --accent-50: #fbf1e9;
  --danger: #b42318;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 6px rgba(10, 27, 45, .05), 0 14px 34px rgba(10, 27, 45, .08);
  --wrap: 1200px;
  --gutter: 24px;
  --f-latin: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-arabic: "Vazirmatn", "IBM Plex Sans", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-latin);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: var(--f-arabic); line-height: 1.85; }
html:not(.ready) main, html:not(.ready) .site-header, html:not(.ready) .site-footer { visibility: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--navy-900); font-weight: 700; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { line-height: 1.5; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.skip {
  position: absolute; top: 8px; inset-inline-start: -9999px; z-index: 100;
  background: var(--paper); color: var(--navy-900); padding: 8px 14px; border-radius: var(--radius);
}
.skip:focus { inset-inline-start: 16px; }

/* ---------- icons ---------- */
.ic { width: 20px; height: 20px; flex: none; }
html[dir="rtl"] .ic-flip { transform: scaleX(-1); }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-900); color: #c4d0dd; font-size: 13.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.tb-info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; white-space: nowrap; }
a.tb-item:hover { color: #fff; }
.tb-item .ic { width: 15px; height: 15px; color: var(--accent-2); }
.lang { display: flex; gap: 2px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; padding: 2px; flex: none; }
.lang button {
  background: none; border: 0; color: #c4d0dd; font: inherit; font-size: 13px; line-height: 1.4;
  padding: 3px 10px; border-radius: 3px; cursor: pointer;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy-900); font-weight: 600; }
.lang button[lang="ckb"], .lang button[lang="ar"] { font-family: var(--f-arabic); }
@media (max-width: 860px) { .tb-hide-sm { display: none; } }
@media (max-width: 560px) {
  .tb-email { display: none; }
  .lang button { padding: 3px 7px; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  backdrop-filter: saturate(1.2) blur(6px);
}
.mainbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-txt b { font-family: var(--f-latin); font-size: 23px; letter-spacing: .1em; color: var(--navy-900); font-weight: 700; }
.brand-txt small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; padding: 8px 12px; border-radius: 4px;
  color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap;
}
.nav a:not(.btn):hover { color: var(--accent-600); }
.nav a.active { color: var(--navy-900); font-weight: 700; }
.nav a.active::after { content: ""; position: absolute; inset-inline: 12px; bottom: 1px; height: 2px; background: var(--accent); }
.nav .nav-cta { margin-inline-start: 10px; }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy-900); transition: transform .2s, opacity .2s; }
.site-header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .burger span:nth-child(2) { opacity: 0; }
.site-header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .burger { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 18px;
  }
  .site-header.open .nav { display: flex; }
  .nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { inset-inline: auto; inset-inline-start: -4px; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav a.active { padding-inline-start: 10px; }
  .nav .nav-cta { margin: 14px 0 0; }
}
@media (max-width: 380px) {
  .brand-txt small { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 4px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1.4;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #e8eef4; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }

/* ---------- hero ---------- */
.hero, .page-hero, .cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #c4d0dd; }
.hero::before, .page-hero::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-in {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-block: 84px 76px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2);
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(30px, 4.3vw, 48px); letter-spacing: -.01em; }
.hero p { font-size: 17.5px; color: #b6c4d3; max-width: 58ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art svg { width: 100%; height: auto; }
.ha-sheet { fill: rgba(255, 255, 255, .025); stroke: rgba(255, 255, 255, .14); }
.ha-bar { fill: #7d91a7; }
.ha-bar-top { fill: #a8b8c9; }
.ha-tie { fill: none; stroke: var(--accent-2); stroke-width: 2.6; stroke-linecap: round; }
.ha-dim { fill: none; stroke: #7f93a8; stroke-width: 1.2; }
.ha-t { fill: #93a7bc; font: 600 12px var(--f-latin); letter-spacing: .08em; }
@media (prefers-reduced-motion: no-preference) {
  .ha-tie { animation: tie-in .5s ease both; }
  .ha-tie.c1 { animation-delay: .12s; }
  .ha-tie.c2 { animation-delay: .24s; }
  .ha-tie.c3 { animation-delay: .36s; }
  .ha-tie.c4 { animation-delay: .48s; }
  .ha-tie.c5 { animation-delay: .6s; }
}
@keyframes tie-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 920px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding-block: 60px 56px; }
  .hero-art { max-width: 520px; }
}

/* standards strip */
.std { background: var(--navy-800); color: #c4d0dd; border-top: 1px solid rgba(255, 255, 255, .06); }
.std-in { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-block: 18px; }
.std-label { font-size: 14px; margin: 0; }
.std-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.std-list li {
  font-family: var(--f-latin); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 3px; padding: 3px 10px; direction: ltr;
}

/* ---------- sections ---------- */
.section { padding-block: 92px; }
.section-white { background: var(--paper); }
.section-tight { padding-top: 0; }
@media (max-width: 700px) { .section { padding-block: 64px; } }
.sec-head { max-width: 740px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600);
}
.sec-head h2 { font-size: clamp(25px, 3vw, 35px); }
.sec-head p { font-size: 17px; color: var(--muted); margin: 0; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .kicker { letter-spacing: 0; text-transform: none; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .cards, .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards-3 { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card::before {
  content: ""; position: absolute; top: -1px; inset-inline: -1px; height: 3px; background: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
html[dir="rtl"] .card::before { transform-origin: right; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card:hover::before { transform: scaleX(1); }
.card-flat:hover { transform: none; }
.section-white .card { background: var(--bg); }
.section-white .card:hover { background: var(--paper); }
.ic-box {
  width: 54px; height: 54px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent-50); color: var(--accent-600);
}
.ic-box .ic { width: 28px; height: 28px; }
.ic-box-lg { width: 72px; height: 72px; }
.ic-box-lg .ic { width: 36px; height: 36px; }
.card h3 { font-size: 19px; }
.card p { flex: 1; color: var(--muted); font-size: 15.5px; }
.more {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  color: var(--accent-600); font-weight: 600; font-size: 15px; text-decoration: none;
}
.more .ic { width: 17px; height: 17px; transition: transform .2s; }
.more:hover .ic { transform: translateX(3px); }
html[dir="rtl"] .more:hover .ic { transform: scaleX(-1) translateX(3px); }

/* steps */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.step { background: var(--paper); padding: 30px 28px; }
.step-n { font-family: var(--f-latin); font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--accent-600); }
.step h3 { font-size: 18.5px; margin-top: 10px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* features */
.features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.feature { border-top: 2px solid var(--navy-800); padding-top: 24px; }
.feature .ic { width: 32px; height: 32px; color: var(--accent); margin-bottom: 16px; }
.feature h3 { font-size: 18.5px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* sectors */
.sectors { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sector {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500;
}
.sector .ic { width: 24px; height: 24px; color: var(--navy-700); }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* band (calculator teaser) */
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius-lg); padding: 34px 36px;
}
.band-txt { display: flex; gap: 20px; align-items: flex-start; max-width: 720px; }
.band-txt .ic-box { margin: 0; flex: none; }
.band h2 { font-size: 23px; margin-bottom: 6px; }
.band p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { padding-block: 76px; }
.cta-band-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: #b6c4d3; margin: 0; font-size: 17px; max-width: 60ch; }

/* ---------- page hero ---------- */
.page-hero { padding-block: 60px 56px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 10px; }
.page-hero p { color: #b6c4d3; font-size: 17.5px; margin: 0; max-width: 62ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: #93a7bc; margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }

/* ---------- about ---------- */
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.lead { font-size: 19.5px; color: var(--ink); line-height: 1.7; }
html[dir="rtl"] .lead { line-height: 1.95; }
.prose p { color: var(--muted); font-size: 16.5px; }
.letters { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.letter { display: grid; grid-template-columns: 64px 1fr; border-bottom: 1px solid var(--line); }
.letter:last-child { border-bottom: 0; }
.letter b {
  display: grid; place-items: center; background: var(--navy-800); color: #fff;
  font-family: var(--f-latin); font-size: 26px; font-weight: 700;
}
.letter:nth-child(odd) b { background: var(--navy-900); }
.letter > div { padding: 13px 20px; }
.letter-w { font-family: var(--f-latin); font-weight: 700; color: var(--navy-900); font-size: 16.5px; }
.letter small { display: block; color: var(--muted); font-size: 14px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.mv-item { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy-800); border-radius: var(--radius-lg); padding: 30px; }
.mv-item h3 { font-size: 20px; }
.mv-item p { color: var(--muted); margin: 0; font-size: 16.5px; }
@media (max-width: 700px) { .mv { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value { padding: 28px 24px; background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.value-n { font-family: var(--f-latin); font-weight: 700; color: var(--accent-600); letter-spacing: .1em; font-size: 14px; }
.value h3 { font-size: 19px; margin-top: 8px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- services page ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px;
  padding-block: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px;
}
.svc .ic-box { margin: 0; }
.svc-n { font-family: var(--f-latin); font-weight: 700; color: var(--accent-600); letter-spacing: .1em; font-size: 14px; }
.svc h2 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 6px; }
.svc-main p { color: var(--muted); font-size: 16.5px; margin: 0; }
.checklist { list-style: none; display: grid; gap: 12px; align-content: start; padding-top: 6px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist .ic { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
html[dir="rtl"] .checklist .ic { margin-top: 6px; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 18px; padding-block: 40px; }
}

/* ---------- technical ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
table.data { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.data th, .data td { padding: 12px 16px; text-align: start; }
.data thead th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.4; vertical-align: bottom; }
.data td, .data tbody th { border-top: 1px solid var(--line); font-family: var(--f-latin); font-variant-numeric: tabular-nums; }
.data tbody th { color: var(--navy-900); font-weight: 700; }
.data tbody tr:nth-child(even) { background: #f7f9fb; }
.data tbody tr:hover { background: var(--accent-50); }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.calc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.calc-form { padding: 34px; }
.calc-res { background: var(--navy-800); color: #c4d0dd; padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.calc-res dl { margin: 0; }
.res-item { padding-block: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.res-item:first-child { padding-top: 0; }
.res-item dt { font-size: 14px; }
.res-item dd { margin: 4px 0 0; font-family: var(--f-latin); font-size: 30px; font-weight: 700; color: #fff; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.res-item.main dd { color: var(--accent-2); font-size: 36px; }
.calc-res .note { color: #93a7bc; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } .calc-form, .calc-res { padding: 26px 22px; } }

.ties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tie-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.tie-fig { background: var(--bg); border-radius: var(--radius); margin-bottom: 18px; padding: 14px; }
.tie-fig svg { width: 110px; height: 110px; margin-inline: auto; }
.tf-bar { fill: #9aabbd; }
.tf-top { fill: #c2ceda; stroke: #9aabbd; }
.tf-wire { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tie-card h3 { font-size: 17px; }
.tie-card p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 980px) { .ties { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ties { grid-template-columns: 1fr; } }

.std-rows { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.std-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); align-items: baseline; }
.std-row:last-child { border-bottom: 0; }
.std-row b { font-family: var(--f-latin); color: var(--navy-900); text-align: start; }
.std-row span { color: var(--muted); }
@media (max-width: 640px) { .std-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; } }
.disclaimer {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 18px 20px;
  background: var(--accent-50); border-radius: var(--radius); color: #6b3c18; font-size: 15px;
}
.disclaimer .ic { color: var(--accent-600); margin-top: 3px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: #fff; border: 1px solid #c6d1dc; border-radius: 4px; padding: 11px 13px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196, 98, 28, .15);
}
.field input[type="number"], .field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: start; }
html[dir="rtl"] .field input[type="number"], html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: right; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13.5px; min-height: 0; }
.err:empty { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 14px; align-content: start; }
.info { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.info-ic { width: 44px; height: 44px; border-radius: 8px; background: var(--navy-800); color: #fff; display: grid; place-items: center; flex: none; }
.info small { display: block; color: var(--muted); font-size: 13.5px; }
.info a, .info span { font-weight: 600; color: var(--navy-900); text-decoration: none; overflow-wrap: anywhere; }
.info a:hover { color: var(--accent-600); }
.info a[dir="ltr"], .info span[dir="ltr"] { display: inline-block; }
.map-col { display: flex; flex-direction: column; gap: 14px; }
.map-frame {
  flex: 1; min-height: 420px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #e7edf3;
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .map-frame, .map-frame iframe { min-height: 320px; } .map-actions .btn { flex: 1 1 auto; } }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; scroll-margin-top: 100px; }
@media (max-width: 600px) { .form-card { padding: 26px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: 110px; }
.nf-code { font-family: var(--f-latin); font-size: clamp(72px, 12vw, 128px); font-weight: 700; color: var(--navy-800); line-height: 1; margin-bottom: 18px; }
.nf p { color: var(--muted); font-size: 17px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #a7b6c6; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.3fr; gap: 40px; padding-block: 68px 44px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.brand-dark .brand-txt b { color: #fff; }
.brand-dark .brand-txt small { color: #93a7bc; }
.foot-brand p { margin: 18px 0 0; max-width: 40ch; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { width: 17px; height: 17px; color: var(--accent-2); margin-top: 4px; }
html[dir="rtl"] .foot-contact .ic { margin-top: 6px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.soc { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; display: grid; place-items: center; }
.soc:hover { border-color: #fff; }
.soc .ic { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .09); font-size: 13.5px; }
.foot-bottom-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 52px 36px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-2px); }

@media print {
  .topbar, .site-header, .cta-band, .map-col, .form-card { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
