* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #10a35a;
  --green-dark: #0a7a42;
  --green-soft: #e8f7ee;
  --ink: #0e1a14;
  --muted: #5e6e66;
  --bg: #ffffff;
  --bg-soft: #f7faf8;
  --border: #e7efe9;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14,26,20,0.04);
  --shadow-md: 0 10px 30px rgba(14,26,20,0.06);
  --shadow-lg: 0 24px 60px rgba(10,122,66,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(16,163,90,0.28);
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; }

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.menu {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: nowrap;
}
.menu a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}
.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s;
  border-radius: 2px;
}
.menu a:hover { color: var(--ink); }
.menu a:hover::after { width: 100%; }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  direction: ltr;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-phone svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-phone:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 110px;
  background:
    radial-gradient(ellipse at 80% -20%, rgba(16,163,90,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at -10% 110%, rgba(16,163,90,0.06) 0%, transparent 50%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16,163,90,0.18);
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
  border: 1.5px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16,163,90,0.30);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16,163,90,0.38);
}
.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

/* hero art */
.hero-art {
  position: relative;
  height: 420px;
  isolation: isolate;
}

.hero-shape {
  position: absolute;
  inset: 40px 20px 40px 20px;
  z-index: 0;
  background: linear-gradient(135deg, var(--green-soft) 0%, #d9f0e2 100%);
  border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%; transform: rotate(0deg); }
  50% { border-radius: 55% 45% 40% 60% / 55% 45% 55% 45%; transform: rotate(3deg); }
}

.hero-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 210px;
  animation: bob 5s ease-in-out infinite;
}
.hero-card-1 { top: 10%; right: 4%; animation-delay: 0s; }
.hero-card-2 { top: 42%; left: 0; animation-delay: 0.8s; }
.hero-card-3 { bottom: 8%; right: 8%; animation-delay: 1.6s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hc-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  flex-shrink: 0;
}
.hc-icon svg { width: 20px; height: 20px; }
.hc-icon.hc-green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.hc-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-card span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding: 5px 12px;
  background: var(--green-soft);
  border-radius: 6px;
}
.eyebrow-light {
  background: rgba(255,255,255,0.16);
  color: #d6f4e3;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1rem; }

/* ---------- Service cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-dark) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: #d0e8d9;
  box-shadow: var(--shadow-md);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  margin-bottom: 20px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon {
  transform: scale(1.06) rotate(-3deg);
  background: var(--green);
  color: #fff;
}

.card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.85;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-dark);
  margin: 0 auto 18px;
}
.feature-icon svg { width: 26px; height: 26px; }

.feature strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.feature span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12) 0%, transparent 40%),
    linear-gradient(135deg, #0e1a14 0%, #0a7a42 130%);
  color: #fff;
  border-radius: 28px;
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,163,90,0.35) 0%, transparent 65%);
  pointer-events: none;
}

.contact h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
}
.contact > p {
  opacity: 0.82;
  margin-bottom: 32px;
  position: relative;
}

.phone-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 800;
  direction: ltr;
  letter-spacing: 1px;
  background: #fff;
  color: var(--ink);
  padding: 16px 34px;
  border-radius: 999px;
  margin-bottom: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.phone-big svg { width: 26px; height: 26px; color: var(--green-dark); }
.phone-big:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 50px rgba(0,0,0,0.30);
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  font-size: 0.95rem;
  position: relative;
}
.location svg { width: 17px; height: 17px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}
.footer-brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
.footer-brand .logo-mark svg { width: 16px; height: 16px; }
.footer a { color: var(--green-dark); font-weight: 600; direction: ltr; }

/* ---------- Floating Call ---------- */
.float-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu { gap: 20px; }
  .menu a { font-size: 0.9rem; }
  .nav { gap: 12px; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { height: 340px; order: -1; }
  .hero-card { width: 190px; padding: 12px 14px; }
  .hc-icon { width: 38px; height: 38px; }
  .hero-card strong { font-size: 0.82rem; }
  .hero-card span { font-size: 0.72rem; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
}

@media (max-width: 768px) {
  .nav { height: 68px; }
  .hero { padding: 56px 0 70px; }
  .hero p { font-size: 1rem; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 42px; }
  .btn-phone span { display: none; }
  .btn-phone { padding: 10px; }
  .btn-phone svg { width: 18px; height: 18px; }

  .hero-art { height: 280px; }
  .hero-card { width: 175px; }
  .hero-card-1 { top: 4%; right: 4%; }
  .hero-card-2 { top: 40%; left: 0; }
  .hero-card-3 { bottom: 4%; right: 8%; }

  .contact { padding: 56px 20px; border-radius: 22px; }
  .phone-big { padding: 14px 26px; gap: 10px; }
  .phone-big svg { width: 20px; height: 20px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .float-call {
    display: grid;
    place-items: center;
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 28px rgba(16,163,90,0.45);
    z-index: 200;
    animation: pulse 2.2s infinite;
  }
  .float-call svg { width: 24px; height: 24px; }
}

@keyframes pulse {
  0% { box-shadow: 0 12px 28px rgba(16,163,90,0.45), 0 0 0 0 rgba(16,163,90,0.5); }
  70% { box-shadow: 0 12px 28px rgba(16,163,90,0.45), 0 0 0 16px rgba(16,163,90,0); }
  100% { box-shadow: 0 12px 28px rgba(16,163,90,0.45), 0 0 0 0 rgba(16,163,90,0); }
}