:root {
  --ink: #101828;
  --paper: #fffef7;
  --brand: #007f5f;
  --brand-deep: #004b39;
  --sun: #ffd166;
  --mint: #c9f6e2;
  --card: #ffffff;
  --line: rgba(16, 24, 40, 0.12);
  --muted: #4f5d75;
  --shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 209, 102, 0.45), transparent 40%),
    radial-gradient(circle at 92% 12%, rgba(0, 127, 95, 0.22), transparent 46%),
    radial-gradient(circle at 50% 90%, rgba(132, 220, 198, 0.24), transparent 42%),
    var(--paper);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(255, 254, 247, 0.86);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.4px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  box-shadow: 0 8px 18px rgba(0, 75, 57, 0.35);
  font-size: 0.88rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #1f2a37;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a.active,
nav a:hover {
  color: var(--brand-deep);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switch a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  color: #304056;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.9);
}

.lang-switch a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-color: transparent;
}

html[dir="rtl"] .nav-wrap {
  direction: rtl;
}

html[dir="rtl"] nav ul {
  padding-right: 0;
}

html[dir="rtl"] .panel ul {
  padding-left: 0;
  padding-right: 1.1rem;
}

html[dir="rtl"] .flow-item::before {
  right: auto;
  left: 12px;
}

main {
  min-height: 70vh;
}

section {
  padding: 4.5rem 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
}

p {
  margin: 0;
}

.page-intro {
  padding: clamp(3rem, 7vw, 5.5rem) 0 2.7rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--mint);
  color: #093528;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.2px;
}

.page-intro h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-top: 1rem;
  max-width: 14ch;
}

.page-intro p {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.14rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.surface {
  background: var(--card);
  border-radius: 24px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.panel {
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 16px;
  padding: 0.95rem;
  margin-top: 0.75rem;
  background: #fff;
}

.panel h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.panel ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #2e3b4e;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  padding: 0.78rem 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 14px 24px rgba(0, 75, 57, 0.24);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  background: #fff;
  color: #123;
  border: 1px solid var(--line);
}

.metrics {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metrics li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  padding: 0.9rem 0.5rem;
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.06);
}

.metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: var(--brand-deep);
}

.section-head {
  max-width: 60ch;
  margin-bottom: 1.7rem;
}

.section-head p {
  color: var(--muted);
  margin-top: 0.8rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  padding: 1.1rem;
  box-shadow: 0 12px 18px rgba(16, 24, 40, 0.06);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
  color: #485468;
  font-size: 0.96rem;
}

.reveal-item {
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

.band {
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.25), rgba(201, 246, 226, 0.45));
  border-radius: 22px;
  padding: 1.2rem;
  border: 1px solid rgba(16, 24, 40, 0.1);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  counter-reset: step;
}

.flow-item {
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem;
  position: relative;
  border: 1px solid var(--line);
  min-height: 120px;
}

.flow-item::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(0, 75, 57, 0.16);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-pane {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 26px;
  padding: clamp(1.4rem, 2vw, 2rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-pane a {
  color: #8bf3d1;
  text-decoration: none;
  font-weight: 700;
}

.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 22px rgba(16, 24, 40, 0.08);
  padding: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(16, 24, 40, 0.2);
  padding: 0.65rem 0.72rem;
  font: inherit;
  color: #1d2939;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 127, 95, 0.14);
}

.alert {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.alert ul {
  margin: 0;
  padding-left: 1rem;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  padding: 1rem;
  box-shadow: 0 12px 18px rgba(16, 24, 40, 0.06);
}

.gallery-card h3 {
  margin-top: 0.85rem;
  margin-bottom: 0.3rem;
  font-size: 1.08rem;
}

.gallery-card p {
  color: #485468;
  font-size: 0.95rem;
  margin: 0;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: #f0f4f8;
}

.shot {
  border-radius: 14px;
  height: 175px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  background-size: 160% 160%;
  animation: flow 10s ease infinite;
}

.shot-1 { background-image: linear-gradient(140deg, #0f766e, #2dd4bf, #ccfbf1); }
.shot-2 { background-image: linear-gradient(140deg, #2563eb, #60a5fa, #dbeafe); }
.shot-3 { background-image: linear-gradient(140deg, #7c3aed, #a78bfa, #ede9fe); }
.shot-4 { background-image: linear-gradient(140deg, #b45309, #f59e0b, #fef3c7); }
.shot-5 { background-image: linear-gradient(140deg, #047857, #34d399, #d1fae5); }
.shot-6 { background-image: linear-gradient(140deg, #be123c, #fb7185, #ffe4e6); }

@keyframes flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.chip {
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.84rem;
}

footer {
  padding: 2rem 0 2.2rem;
}

.footer-wrap {
  text-align: center;
  color: #516176;
  font-size: 0.92rem;
  position: relative;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(150deg, #29a71a, #146c0e);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.2);
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-pane,
  .flow,
  .grid-3,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .lang-switch {
    margin-top: 0.3rem;
  }

  nav ul {
    gap: 0.8rem;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 0;
  }
}
