:root {
  --font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-sub: #475569;
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --brand-navy: #0f172a;
  --border-color: #cbd5e1;
  --blue-bg: #eff6ff;
  --blue-border: #bfdbfe;
  --blue-text: #1e3a8a;
  --emerald-bg: #ecfdf5;
  --emerald-border: #a7f3d0;
  --emerald-text: #065f46;
  --rose-bg: #fff1f2;
  --rose-border: #fecdd3;
  --rose-text: #9f1239;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --warning-text: #92400e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .lang-he {
  display: none !important;
}

html[lang="he"] .lang-en {
  display: none !important;
}

:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #0284c7 !important;
  outline-offset: 2px !important;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px;
}

header.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  color: #0f172a;
}

.logo-blue { color: #1e40af; }
.logo-green { color: #047857; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: #f1f5f9;
  color: var(--primary-dark);
}

.nav-link.active {
  background: var(--blue-bg);
  color: var(--blue-text);
  border: 1px solid var(--blue-border);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 4px 10px;
  cursor: pointer;
  color: #475569;
  transition: all 0.15s ease;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
}

.lang-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.page-hero {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 28px;
  margin-top: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.badge-blue {
  background: var(--blue-bg);
  color: var(--blue-text);
  border: 1px solid var(--blue-border);
}

.badge-emerald {
  background: var(--emerald-bg);
  color: var(--emerald-text);
  border: 1px solid var(--emerald-border);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
}

h1.page-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 10px;
}

p.page-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: var(--text-sub);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px 24px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-card h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.section-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.section-card ul, .section-card ol {
  margin: 12px 20px 14px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.section-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.info-box {
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 13.5px;
  color: var(--blue-text);
  line-height: 1.6;
}

.info-box strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.warning-box {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 13.5px;
  color: var(--warning-text);
  line-height: 1.6;
}

.warning-box strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

/* Forms (e.g. cancellation) */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #1e293b;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer */
footer.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 32px 0 24px;
  margin-top: 48px;
  font-size: 13px;
  border-top: 1px solid #1e293b;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}
