:root {
  --bg: #f5f7f6;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #d1d5db;
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-soft: #e8f7ee;
  --accent: #334155;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7faf8 0%, #eef5f1 100%);
  line-height: 1.5;
}

body.rtl {
  direction: rtl;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.brand img {
  height: 92px;
  width: auto;
  max-width: none;
  display: block;
}

.brand.small img {
  height: 82px;
  width: auto;
  max-width: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.nav-links a {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn:hover {
  background: #f3f4f6;
}

.lang-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.hero {
  padding: 70px 0 40px;
}

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

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy p.lead {
  margin: 0 0 22px;
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 700px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid #ccefd8;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.hero-card {
  background: var(--card);
  border: 1px solid rgba(209, 213, 219, 0.8);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.hero-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.mini-steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8faf9;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
}

.mini-step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex: 0 0 auto;
}

.section {
  padding: 34px 0;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.section-subtitle {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 820px;
  font-size: 1.08rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(209, 213, 219, 0.8);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background: #fff;
  border: 1px solid rgba(209, 213, 219, 0.8);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-card .step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.cta-box {
  background: linear-gradient(135deg, #17311f 0%, #1f4d2d 100%);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.cta-box p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  font-size: 1.06rem;
}

.cta-box .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(209, 213, 219, 0.8);
  padding-top: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* FORM PAGE */
.form-page {
  padding: 48px 0 70px;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.info-panel,
.form-panel {
  background: #fff;
  border: 1px solid rgba(209, 213, 219, 0.8);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.info-panel {
  padding: 28px;
}

.info-panel h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.info-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.info-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.info-list li {
  background: #f8faf9;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
}

.form-panel {
  padding: 30px;
}

.form-panel h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.form-panel .intro {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 16px;
}

.input,
.select,
textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 17px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.input:focus,
.select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.checkbox-group {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fafcfb;
}

.checkbox-item input {
  margin-top: 4px;
  transform: scale(1.15);
}

.checkbox-item label {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
  font-size: 1rem;
}

.form-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.helper-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

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

  .hero {
    padding-top: 40px;
  }

  .header-inner {
    min-height: 86px;
  }

  .brand img {
    height: 72px;
  }

  .brand.small img {
    height: 64px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 22px), var(--max));
  }

  .header-inner {
    min-height: 76px;
    gap: 12px;
  }

  .brand img {
    height: 60px;
  }

  .brand.small img {
    height: 54px;
  }

  .hero-copy h1,
  .info-panel h1,
  .form-panel h2 {
    word-break: break-word;
  }

  .hero-card,
  .feature-card,
  .step-card,
  .info-panel,
  .form-panel,
  .cta-box {
    padding: 20px;
    border-radius: 18px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .nav-links,
  .lang-switch {
    display: none;
  }
}
