:root {
  --ink: #102033;
  --navy: #0b1f35;
  --navy-2: #12314f;
  --gold: #c9a24a;
  --gold-2: #e0c57a;
  --paper: #fbfaf7;
  --muted: #637083;
  --line: #dde4ea;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 31, 53, .10);
  --legal-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 9h14'/%3E%3Cpath d='M6 9l6-5 6 5'/%3E%3Cpath d='M7 9v9'/%3E%3Cpath d='M12 9v9'/%3E%3Cpath d='M17 9v9'/%3E%3C/g%3E%3C/svg%3E");
  --book-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h5v16H5z'/%3E%3Cpath d='M10 6h5v14h-5z'/%3E%3Cpath d='M15 8h4v12h-4z'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Segoe UI", Tahoma, sans-serif;
  line-height: 1.65;
}
body[dir="rtl"] { font-family: Tahoma, Arial, "Segoe UI", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--navy); }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 4vw, 3.7rem); letter-spacing: 0; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.05rem; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--gold); color: var(--navy); padding: 8px 12px; z-index: 20; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(16, 32, 51, .08);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 116px; }
.brand img {
  width: 96px;
  height: 78px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
}
.nav-icon,
.language-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(201, 162, 74, .16); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle svg { width: 21px; height: 21px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11,31,53,.94), rgba(18,49,79,.86)),
    radial-gradient(circle at 85% 15%, rgba(201,162,74,.22), transparent 32%),
    var(--navy);
  color: var(--white);
}
.hero .container {
  min-height: min(700px, calc(100vh - 92px));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0 88px;
}
.hero h1 { color: var(--white); }
.hero h1 { max-width: 720px; }
.hero h1::before,
.page-hero h1::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  background: var(--gold-2);
  -webkit-mask: var(--legal-icon) center / contain no-repeat;
  mask: var(--legal-icon) center / contain no-repeat;
}
.hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 680px; }
.eyebrow { color: var(--gold-2); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 16px; }
body[dir="rtl"] .eyebrow { letter-spacing: 0; }
.hero-panel {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 28px;
}
.hero-panel h2,
.hero-panel h3 { color: var(--white); }
.hero-panel h2 { font-size: clamp(1.45rem, 2.2vw, 2.15rem); }
.hero-panel strong { display: block; color: var(--gold-2); font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.hero-panel span { color: rgba(255,255,255,.82); }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 6px;
  padding: 10px 16px;
  border: 1px solid transparent;
  font-weight: 800;
}
.button.primary { background: var(--gold); color: var(--navy); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.28); }
.button.dark { background: var(--navy); color: var(--white); }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; }

.section { padding: 74px 0; }
.section.alt { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-head p { max-width: 670px; color: var(--muted); }
.section-head h2::before,
.band h2::before,
.profile-block h2::before,
.card h2::before {
  content: "";
  display: inline-block;
  width: .78em;
  height: .78em;
  margin-inline-end: 10px;
  background: var(--gold);
  vertical-align: -.04em;
  -webkit-mask: var(--legal-icon) center / contain no-repeat;
  mask: var(--legal-icon) center / contain no-repeat;
}
.card h3::before,
.timeline h3::before,
.site-footer h3::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-inline-end: 8px;
  background: var(--gold);
  vertical-align: -.15em;
  -webkit-mask: var(--book-icon) center / contain no-repeat;
  mask: var(--book-icon) center / contain no-repeat;
}
.hero-panel h2::before,
.site-footer h3::before { background: var(--gold-2); }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(11,31,53,.03);
}
.alt .card { background: var(--paper); }
.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  background: rgba(201,162,74,.14);
  border-radius: 6px;
  margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; }
.card p, .timeline p, .contact-list p { color: var(--muted); }
.kicker { color: var(--gold); font-weight: 900; margin-bottom: 8px; }

.band {
  background: var(--navy);
  color: var(--white);
  padding: 54px 0;
}
.band h2 { color: var(--white); }
.band p { color: rgba(255,255,255,.78); }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }

.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 72px 0;
}
.page-hero h1 { color: var(--white); }
.page-hero p { max-width: 800px; color: rgba(255,255,255,.82); font-size: 1.06rem; }
.crumbs { margin-bottom: 16px; color: var(--gold-2); font-weight: 800; font-size: .9rem; }

.timeline { display: grid; gap: 14px; }
.timeline-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-date { color: var(--gold); font-weight: 900; }
.cv-header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}
.profile-block {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 28px;
}
.profile-block h2, .profile-block h3 { color: var(--white); }
.profile-block p { color: rgba(255,255,255,.78); }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { border: 1px solid rgba(201,162,74,.5); color: var(--gold-2); border-radius: 999px; padding: 7px 10px; font-size: .86rem; font-weight: 800; }
.list { padding: 0; margin: 14px 0 0; list-style: none; }
.list li {
  position: relative;
  padding-inline-start: 22px;
  margin: 10px 0;
  color: var(--muted);
}
.list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { margin: 0; flex: 0 0 auto; }
.form-note {
  border-left: 4px solid var(--gold);
  background: rgba(201,162,74,.12);
  padding: 18px;
  border-radius: 6px;
}
body[dir="rtl"] .form-note { border-left: 0; border-right: 4px solid var(--gold); }

.site-footer {
  background: #071726;
  color: rgba(255,255,255,.78);
  padding: 44px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr .7fr; gap: 28px; margin-bottom: 28px; }
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer a { color: rgba(255,255,255,.78); display: inline-block; margin: 4px 0; }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .9rem; display: flex; justify-content: space-between; gap: 18px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
  top: 92px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero .container, .cv-header, .grid.three, .grid.two, .footer-grid { grid-template-columns: 1fr; }
  .hero .container { min-height: auto; padding: 56px 0 68px; }
  .section-head, .band-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 560px) {
  .brand img { width: 76px; height: 62px; }
  .nav { min-height: 74px; }
  .nav-links { top: 74px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .page-hero { padding: 54px 0; }
}
