:root {
  --lime: #c4ee00;
  --lime-soft: #d9f75c;
  --green-900: #071804;
  --green-800: #0c2507;
  --green-700: #153f09;
  --green-600: #1e5410;
  --text: #f1f6e6;
  --muted: #a9b99a;
  --line: rgba(196, 238, 0, 0.16);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  background: var(--green-900);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 22px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand img { height: 52px; width: auto; }

.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); }
.nav a.active {
  color: var(--green-900);
  background: var(--lime);
}

/* ---------- Background decoration ---------- */
.bg {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 15% 30%, rgba(196, 238, 0, 0.13), transparent 60%),
    radial-gradient(800px 600px at 90% 100%, rgba(30, 84, 16, 0.55), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900) 70%);
}
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 70%);
  opacity: .35;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 130px 0 90px;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(196, 238, 0, 0.06);
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(196, 238, 0, 0.2);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--lime); }

.hero .lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 560px;
}
.hero .en {
  margin-top: 10px;
  direction: ltr;
  text-align: right;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: .3px;
  color: rgba(169, 185, 154, .75);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary {
  background: var(--lime);
  color: var(--green-900);
  box-shadow: 0 10px 30px -10px rgba(196, 238, 0, .6);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--lime-soft); }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--lime); transform: translateY(-2px); }

.phone-ltr { direction: ltr; unicode-bidi: embed; }

.hero-emblem {
  position: relative;
  justify-self: center;
  width: min(420px, 80vw);
  aspect-ratio: 1;
}
.hero-emblem::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px dashed var(--line);
  animation: spin 60s linear infinite;
}
.hero-emblem::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(90px);
  opacity: .25;
  z-index: 0;
}
.hero-emblem img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Contact page ---------- */
.page {
  flex: 1;
  padding: 150px 0 90px;
}
.page-head { max-width: 640px; margin-bottom: 48px; }
.page-head h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.25;
}
.page-head h1 span { color: var(--lime); }
.page-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.cards { display: grid; gap: 16px; }
.card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 37, 7, 0.7);
  backdrop-filter: blur(6px);
  transition: border-color .2s, transform .2s;
}
a.card:hover { border-color: var(--lime); transform: translateY(-2px); }
.card .icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--lime);
  color: var(--green-900);
}
.card .icon svg { width: 24px; height: 24px; }
.card small { display: block; color: var(--muted); font-size: 14px; }
.card strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  direction: ltr;
  text-align: right;
  word-break: break-all;
}

.form-box {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 37, 7, 0.7);
  backdrop-filter: blur(6px);
}
.form-box h2 { font-size: 24px; margin-bottom: 6px; }
.form-box > p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }

.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 4, 0.8);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(196, 238, 0, .12);
}
.form-box .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---------- Legal pages ---------- */
.legal {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.legal .page-head { max-width: none; margin-bottom: 28px; }
.legal .updated {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--lime);
}
.lang-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}
.lang-switch a {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.lang-switch a:hover { color: var(--lime); border-color: var(--lime); }

.legal-doc {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 37, 7, 0.75);
  backdrop-filter: blur(6px);
  margin-bottom: 28px;
}
.legal-doc[dir="ltr"] {
  font-family: "Inter", "Segoe UI", sans-serif;
  text-align: left;
}
.legal-doc > h2 {
  font-size: 26px;
  color: var(--lime);
  margin-bottom: 8px;
}
.legal-doc h3 {
  font-size: 19px;
  margin: 28px 0 8px;
}
.legal-doc p,
.legal-doc li { color: #d3dec6; font-size: 16px; }
.legal-doc ul,
.legal-doc ol { padding-inline-start: 24px; margin: 8px 0; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc .ltr { direction: ltr; unicode-bidi: embed; }
.legal-doc .note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(196, 238, 0, 0.06);
}

.legal-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.legal-links a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(196, 238, 0, 0.05);
  font-weight: 600;
  font-size: 15px;
  transition: border-color .2s, color .2s;
}
.legal-links a:hover { border-color: var(--lime); color: var(--lime); }
.legal-links svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; }
.legal-links span { font-size: 12px; font-weight: 400; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
  background: var(--green-900);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer a:hover { color: var(--lime); }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-footer .links a[href$=".html"] {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container,
  .contact-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; padding-top: 120px; }
  .hero .lead { margin-inline: auto; }
  .hero .en { text-align: center; }
  .actions { justify-content: center; }
  .hero-emblem { order: -1; width: min(240px, 60vw); }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand img { height: 38px; }
  .nav a { padding: 7px 12px; font-size: 14px; }
  .btn { width: 100%; justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .form-box { padding: 22px; }
  .legal-doc { padding: 22px; }
  .page { padding-top: 120px; }
  .hero { padding: 100px 0 60px; }
  .hero .container { gap: 28px; }
  .hero-emblem { width: 150px; }
  .eyebrow { margin-bottom: 18px; font-size: 13px; }
  .actions { margin-top: 28px; }
  .site-footer .container { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
