:root {
  --bg: #f6f9ff;
  --surface: rgba(255, 255, 255, 0.9);
  --card: #ffffff;
  --border: rgba(20, 81, 153, 0.14);
  --text: rgba(12, 22, 38, 0.92);
  --muted: rgba(12, 22, 38, 0.62);
  --primary: #1e71df;
  --primary-2: #8cb3ef;
  --shadow: 0 12px 30px rgba(20, 81, 153, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(900px 460px at 15% 0%, rgba(140, 179, 239, 0.35), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(30, 113, 223, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(251, 247, 242, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 100%;
  max-width: 560px;
  height: 165px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name {
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-select {
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-weight: 600;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .header-inner {
  direction: rtl;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(18, 18, 18, 0.05);
}

.nav-link.active {
  color: var(--text);
  background: rgba(18, 18, 18, 0.06);
  border: 1px solid var(--border);
}

.nav-cta {
  margin-left: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 113, 223, 0.95), rgba(140, 179, 239, 0.95));
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 10px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(18, 18, 18, 0.72);
}

.nav-toggle-line + .nav-toggle-line {
  margin-top: 5px;
}

.hero {
  padding: 56px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: rgba(18, 18, 18, 0.72);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 14px;
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: rgba(255, 255, 255, 0.95);
}

.button.primary {
  background: linear-gradient(135deg, rgba(30, 113, 223, 0.95), rgba(140, 179, 239, 0.95));
  border: none;
  color: rgba(255, 255, 255, 0.96);
}

.button.secondary {
  background: rgba(18, 18, 18, 0.06);
}

.button.ghost {
  background: transparent;
}

.button.full {
  width: 100%;
}

.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.badge {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(18, 18, 18, 0.7);
  font-weight: 600;
  font-size: 14px;
}

.card,
.mini-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 18px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.card-subtitle {
  margin: 0 0 10px;
  font-size: 16px;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-row:first-of-type {
  border-top: none;
}

.fine {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(18, 18, 18, 0.55);
}

.section {
  padding: 44px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(18, 18, 18, 0.06);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card-link {
  display: block;
}

.card-link:hover .card {
  background: rgba(255, 255, 255, 0.95);
}

.card-action {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: rgba(30, 113, 223, 0.95);
}

.section-actions {
  margin-top: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--muted);
  margin-top: 6px;
}

.cta {
  padding: 40px 0 56px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(240, 179, 126, 0.22));
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 40px 0 18px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.filter {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.label {
  display: block;
  font-size: 13px;
  color: rgba(18, 18, 18, 0.72);
  margin-bottom: 8px;
  font-weight: 600;
}

.select,
.input,
.textarea {
  width: 100%;
  border: 1px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 12px 12px;
  border-radius: 12px;
  outline: none;
  font: inherit;
}

.select:focus,
.input:focus,
.textarea:focus {
  border-color: rgba(30, 113, 223, 0.55);
  box-shadow: 0 0 0 4px rgba(30, 113, 223, 0.12);
}

.field + .field {
  margin-top: 12px;
}

.form .fine {
  margin-top: 12px;
}

.details {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.details summary {
  cursor: pointer;
  font-weight: 700;
  color: rgba(30, 113, 223, 0.95);
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--card);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.details-body {
  margin-top: 12px;
}

.list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pill {
  border: 1px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(18, 18, 18, 0.72);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-row:first-of-type {
  border-top: none;
}

.divider {
  height: 1px;
  background: rgba(18, 18, 18, 0.1);
  margin: 18px 0;
}

.map {
  display: grid;
  place-items: center;
  height: 220px;
  border-radius: 16px;
  border: 1px dashed rgba(18, 18, 18, 0.22);
  color: rgba(18, 18, 18, 0.6);
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partners img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  display: block;
}

.partner {
  border: 1px dashed rgba(18, 18, 18, 0.22);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  place-items: center;
  color: rgba(18, 18, 18, 0.6);
  background: rgba(255, 255, 255, 0.75);
}

.site-footer {
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  padding: 34px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.footer-grid > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-self: stretch;
}

.footer-grid > div:last-child {
  justify-self: end;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
  color: var(--muted);
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.82);
}

.footer-link {
  display: block;
  padding: 6px 0;
  color: var(--muted);
}

.footer-link:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    max-width: none;
    height: 140px;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .brand-mark {
    height: 120px;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
  }

  .nav.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }
}
